Fix update hang.

Don't check ssh keys of VM (attempting to update them) if we are
changing the state of the host (up/down) as there is a good chance
it will be down and will never return any keys.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
I vaguely thought something used that for vms because the key changed from when it was originally locked and when you actually started a test but yeah it doesn't look like anything is actually using it. Maybe we were purposely waiting until the guest was up before the lock completed or something? I am guessing there is some sort of reason we did this. I think warren is the one who irignally did this code so he might know.