Fixed configparser and dircache import errors in managerregistry.py