Test BaseCloud.wait_for_ssh

Avoid overriding wait_for_ssh in unit tests. Patch RemoteHost.run_command so
that we do not actually attempt an SSH connection instead.