Fix NoSuchMethod on nil When chef returns null 'rows' in search results

Remove those elements from resulting array

@obrie @will-ob @gerbercj @narrigab