Don't exit if we are not on a branch

We don't want to exit if we can't pull a branch reference from one
of the tools repositories, which we do as we are running under set -e

Change-Id: I12e0eb106bdde8c9a7e5f89567d4cde3a7c171c9
Merge "Don't exit if we are not on a branch"