wait_till_vm_is_up() can see vmi as inactive initially. Handle that case