Fix SaltNova.list_nodes. fixes #11128

ret should be a list, as this is just a list of nodes.