changegroups: fix prefixes, group_id selection