CHEF-1940:Patch for https://github.com/opscode/chef/issues/1940

Attached patch for - https://github.com/opscode/chef/issues/1940
this isn't going to be useful as it is