fixed an argument counting bug

(cherry picked from commit 458f2734)
7 jobs for git-replay-merge-no-push-option-v9_12-v9_11 in 7 minutes and 11 seconds (queued for 6 seconds)
Status Job ID Name Coverage
  Precheck
passed precheck:debian:sid:amd64 #23596
amd64 docker linux

00:00:11

 
  Build
passed build:debian:sid:amd64 #23597
amd64 docker linux

00:01:38

passed build:debian:sid:i386 #23598
i386 docker linux

00:01:44

 
  Test
passed systemtest:debian:sid:amd64 #23601
amd64 docker linux

00:04:49

passed systemtest:debian:sid:i386 #23602
i386 docker linux

00:05:14

passed unittest:debian:sid:amd64 #23599
amd64 docker linux

00:00:56

passed unittest:debian:sid:i386 #23600
i386 docker linux

00:00:53