if the host is local do not do ssh
some tests for the new needs_ssh helper