Check that merge --info runs for PRs and branches

Note this doesn't check the info is correct, only that it runs without an error.
Fix iteration over self.candidate_branches