Check the user is giving us a VM name.
Return exit 1 on errors.