fix configuration loading when the default path is used