891423 - Migration script to fix pkg groups and category repoid