PIM-2832: Fix issue with repository resolver in ODM

| Q                    | A
| -------------------- | ---
| Bug fix?             | Y
| New feature?         | N
| BC breaks?           | N
| CI currently passes? | Y
| Tests pass?          | ?
| Scenarios pass?      | ORM: 1045 - ODM: 77
| Checkstyle issues?   | N
| Changelog updated?   | Y
| Fixed tickets        |
| Doc PR               |