Fix for possible scontrol segv

This is due to a bug introduced in commit 83d626ca45032d71f3847a9a92e9a21fac5e8031a
SOme configurations could result in NULL names in the node list table
(e.g. hidden partitions).