Fix bug where host was not correct on remote servers for cloud9