BUG: When config directory was specified with '.', some paths were not set correctly