Fix adding repos process