Fix incorrect repo parsing