Fix for repr to display the node name

Useful for "dummy" nodes, as used in derive() methods (improves
introspection).