Re-tweak config.py imports for legacy installs.