Fix compatibility with Chef 11.6 and the secure_path recipe.