Fix OsX path issue.

The if-condition was inverted. We were not using the right path when running
an app or a non-app executable. This was causing the dashboards to fail.

Change-Id: Ib73e51fb3a5811ba4d3e56559df8dcf6ab23d906
Merge topic 'fix_python_paths' into next

4d2eed2 Fix OsX path issue.