tag: add repository argument to parse_tag_buffer