retagprompt: skip empty tags

(and so avoid having a leading comma)