Assert that the branch exists

Otherwise the script continues as if the branch is there, even though it
may not be.

Change-Id: I88df8d8041e9bc005b45136f9aa1e1597ab9edf3
Merge "Assert that the branch exists"