Correctly detect python in PATH (better way)