tests: close any ssh master connections on teardown
Don't call get_ssh_name() from stop_ssh_master.

We need to be able to kill the master connection even if the machine has been destroyed by another deployment instance