revision.c: handle tag->tagged == NULL