Printing the branch causes Jenkins to fail.  AFAIK, this is only done for
logging.