Invalid branch or locale should display proper error message (#115)