I would move this to the ReposManager, the config class in CP is a singleton a bit too bloated for my taste.