don't output newlines when only showing node IDs
Merge branch 'CHEF-4161'