PIM-2832: Fix issue with repository in ODM

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