Fix settings.PYTHON_PATH undefined.
Merge pull request #1744 from arlsr/fixpath

Fix settings.PYTHON_PATH undefined.