Create repo when it doesn't exist
Trivial (tidy) refactor