patch PYTHONPATH for kernels, in case manage.py modified sys.path.