Fixed error hypervisor variable missing $
Added checks for variables emptines
Small typo in error message.