provisioners/chef: fix exception during node cleanup [GH-2345]