Add Chef 10.x compatibility when making PUT request