chore(merge_pr): handle canary behind master

Before, if canary was behind master, a PR would always get merged into canary.