imeyer/knife-batch — pull request #4 by mzupan (2014-12-12 14:43:39+00:00)
Title: searches were always returning all nils

My searches doing this

```knife batch "role:web" "hostname" -B 5 -W 10```

Where always returning nil values. Digging in I found it was returning a hash like

```
{"web10-eu.domain.com"=>{"fqdn"=>"web10-eu.domain.com"}}
```

Which wasn't getting pulled out. I don't know ruby that much so I just dumped out all the values and took the first one. Its now working for me

Maybe due to my chef version?

```
[root@chef01-east.domain.com /usr]# rpm -qa | grep chef
chef-server-11.1.6-1.el6.x86_64
chef-11.14.2-1.el6.x86_64
```