CLOUDSTACK-4995: Fixed test_reset_ssh_keypair  which checks the  state of the VM

Signed-off-by: Girish Shilamkar <girish@clogeny.com>