NXP-11551: reduce calls to RepositoryManager.getRepositories
NXP-11551: don't use RepositoryService