Fix chef-path setting logic.