Fixes COOK-3859

https://tickets.opscode.com/browse/COOK-3859