I think this was just being conservative since the original version of the function returned `null` in those cases instead of `undefined`. However, looking at how `_extractTagName()` is used, it looks like its result always gets passed to `createTagInfo()`, which coerces it to "" anyway. So it seems safe to remove it.