Fix settings.PYTHON_PATH undefined.

Fixes error:

        tool_path = os.path.join(os.path.dirname(settings.PYTHON_PATH),
    AttributeError: 'module' object has no attribute 'PYTHON_PATH'