magit-process-setup: fix endless loop