opscode/chef — pull request #414 by milosgajdos83 (2012-09-27 22:35:25+00:00)
Title: Modified configure_session method to skip the lopp if nil item is returned.

If we don't skip nil items then the if condition fails
with No Method error. ie.
if !config[:override_attribute] && nil[:cloud] && nil[:cloud][:public_hostname]
is obviously nonsense