CB-8003: Print a useful error message when tools repos aren't on a named branch, instead of dying.