Add path as locals for reading the configuration

Old config was setting the dir path using path.py module.
We need it to be backward compatible.