Check whether slave has an associated computer before attempting to set offline

This is already the case in the SSH slave code, but not in this code.  Sometimes a slave will have a null computer if it failed somewhere during the provisioning/startup stage.