Fixing the issue with verify_vm_not_in_agent