avoid errors when forward-migrating course_groups after south conversion

JIRA: TNL-937
Merge pull request #6160 from edx/jsa/tnl-937

avoid errors when forward-migrating course_groups after south conversion