Fix problem creating a new repo