#5 fixed;

Forgot to make a return in case of first initialization of repository or branch