Fix a typo in nodes helper

%w([not managed]) would not include "[not managed]" as %w() splits on
whitespace.