pkg-merge-upstream-to-downstreams: Fix automergeability check
Compare the upstream branch to what we actually propose to be merged when checking if it can be merged automatically.
The current code compares it to the downstream branch which is not updated yet, so merge_when_pipeline_succeeds is never actually set as the diff will always include more files than expected.