Hm, actually I think it's good the way it is now. search() returns a nested array, and we only want the first element of each array: http://www.rubydoc.info/github/opscode/chef/Chef/Search/Query#search-instance_method