Fix a bug that was crashing the non-uwp python[_d].exe to crash.
Fix a bug that was crashing the non-uwp python[_d].exe to crash.

ms-iot/python,ms-iot/python,ms-iot/python,ms-iot/python,ms-iot/python,ms-iot/python,ms-iot/python,ms-iot/python