fix on configurable export

Test if there is a variant group before export