Invalid branch or locale displays proper error message. Fixes #115