[powershell] A better way to check if a path exists or not in PowerShell