NXP-12183 Use the right RepositoryFactory to avoid error at activation time