This fix checks if VM is poweredoff before it can be destroyed. Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>