Fix for COOK-2238

Adding a fix for [COOK-2238](http://tickets.opscode.com/browse/COOK-2238).