Handle children repositories (far from perfect, gives a general idea of how we might handle them)