Fix compatibility with Chef 11.6.