Make kvm.ps1 work on Powershell < 4

Changing IsNullOrWhitespace to IsNullOrEmpty makes kvm.ps1 work on Powershell versions before 4.
And it still works in Powershell 4.