opscode/chef — pull request #685 by juliandunn (2013-03-21 17:22:22+00:00)
Title: [CHEF-4022] "knife cookbook download" of nonexistant cookbook throws NoMethodError

Chef::CookbookVersion::available_versions throws nil if the cookbook is not found on the server, but Chef::Knife::CookbookDownload doesn't handle this properly.