Handle null string remote host.

The format returned by `cylc get-config` means that null strings may not
be handled correctly. This change should improve it some what.
Merge pull request #513 from matthewrmshin/remote-host-is-null-string

Handle null string remote host.