tags = set([r[len(TAG) :] for r in refs if r.startswith(TAG)])