Adding migration script to set repoid for pkg groups and categories to associated value