legacy stash: fix "rudimentary backport of -q"