fixed missing use statement in Repository.php