PIM-2844: clean ProductRepository

| Q                    | A
| -------------------- | ---
| Bug fix?             |
| New feature?         |
| BC breaks?           |
| CI currently passes? |
| Tests pass?          |
| Scenarios pass?      |
| Checkstyle issues?   |
| Changelog updated?   |
| Fixed tickets        |
| Doc PR               |
@gquemener thanks, I knew I had to change this method, but didn't know how to. Will do it later.