Check that the target branch is the open branch