dotag.sh: annotated tagging fix

Need to keep expanded envvars as single arguments.

Category: bugfix