# Look up the given virtual machine just to make sure it really exists.
begin
vm = (vms = VirtualMachine.where(uuid: vm_uuid)) != nil ? vms.first : nil
# Look up the given virtual machine just to make sure it really exists.
begin
vm = (vms = VirtualMachine.where(uuid: vm_uuid)) != nil ? vms.first : nil