Support adding child repo for the first time.