Use node-name if sname isn't set in args
Merge pull request #60 from plux/fix-shell-node-name-nil

Use node-name if sname isn't set in args