Use default repos when non-nil project contains none.