EZP-22066: Removed service_container direct injection in RepositoryFactory