Thank you, Peter!
Actually, the parentheses are missing not just on host, but also on port.
I fixed this, but it doesn't seem to make any difference in my Plesk-to-Plesk Linux-to-Linux pre-migration check. I get this in the log file:
Exception:
Traceback (most recent call last):
File...