SLING-6973: Adjust AbstractSlingRepository2 to reflect SLING-6963 - patch provided by Angela Schreiber.