fix on configurable export

Test if there is a variant group before export

| Q                   | A
| ------------------- | ---
| Bug fix?            | y
| New feature?        | n
| BC breaks?          | n
| Tests pass?         | y
| Scenarios pass?     | y
| Checkstyle issues?  | n
| Changelog updated?  | y