Fix import error in run-tests.

All imports of PyInstaller must occur after correcting sys.path.