The `.nil?` method allows you to test non-existent vars.  I was actually just completing my tests when you reviewed this though, and apparently `Chef::EncryptedDataBagItem.load` doesn't return a hash, so there's a new pull inbound.