fix `re-run with last args' to operate on the current image/drawable pat/pat.c: fix handling of pattern name when called non-interactively