[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?          | Yes
| Scenarios pass?      | ?
| Checkstyle issues?*  | no
| PMD issues?**        | No
| Changelog updated?   | No
| Fixed tickets        | PIM-3309
| Doc PR               | No
you can add the jira number here