Add method to check the config path
Hotfix checkModulePath()