Python Command Not Working In Powershell If Statement