Fix a regression with Chef 10 in Ruby