Return repo when register repo