Consolidation of pk sub-repositories