powershell if variable is null then exit