PIM-2558: Implementation to ease repository overriding

| Q                   | A
| ------------------- | ---
| Bug fix?            | N
| New feature?        | Y
| BC breaks?          | N
| Tests pass?         | ~
| Scenarios pass?     | ?
| Checkstyle issues?  | N
| Changelog updated?  | ~
| Fixed tickets       | PIM-2558
| Doc PR              |