EZP-22193: Replaced injection of repository