packer/plugin: fix nil deref during ctrl-c of provisioner