Python Regex Find Substring In Powershell If Variable Is Null