Fix the retrieval of config from the registry