[WIP] PIM-3309: Fix check on product unicity

This PR fix the issue #1657

| Q                    | A
| -------------------- | ---
| Bug fix?             | Yes
| New feature?         | No
| BC breaks?           | No
| CI currently passes? | ?
| Tests pass?          | ?
| Scenarios pass?      | ?
| Checkstyle issues?*  | ?
| PMD issues?**        | No
| Changelog updated?   | No
| Fixed tickets        | PIM-3309
| Doc PR               | No