Fix tests and simplify chef-solo support patch

Since data_bag "<name>" silently returns an empty list of data_bag_items if the
data_bag does not exist, the whole process works even in the simplified version
without the Chef::DataBag.list check that isn't supported on chef-solo.