Check that the branch we're trying to follow is actually there