Allow for the fact we might not always be on a branch.