Fixed: Missing group by clause in repo dir query