xcatws.cgi: fix the output when slpnodes resource has no output; fix the output message for nodestat resource