Fix chef 11 incompatibility issue