Fixed comaptibility with chef version < 11.0