Log an error if we can't find the branch