bpo-44074: let patchcheck infer the base branch name (GH-25991)

2 files changed