This is for the tag UI, though. Aren't tags supposed to live in refs/tags/ by definition? Special casing "refs/" also winds up breaking repositories that accidentally push tags literally named 'refs/tags/something'. I've seen this happen quite a few times in the real world.