Revert "Add path as locals for reading the configuration"

This reverts commit b750a940fe2fe0c0b7c7a19c7eb995fe9343eee6.
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.