Fix a typo in nodes helper

%w([not managed]) would not include "[not managed]" as %w() splits on
whitespace.
Merge pull request #824 from bkutil/fix_typo_in_nodes_helper

Fix a typo in nodes helper