How do I get the name of a View set?

I think your view set just don’t have a name, or its name is just an empty string.
Otherwise, if it is truly the node not working, my first guess would be with the Element.name node or by using the OotB node Element.GetParameterValueByName.
Like @mellouze wrote, Element.Name does the work.
If you want to collect all the view sets, there are nodes for that.
