PIM-2403 : only consider the real groups in attribute export (no virtual group)

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