Using defaults with init fails with existing repository.

If a existing repository does not have a branch named "master", "production" or "main" the init command with default values will fail.
Close #136