Fix #5335
Fix #5335

https://github.com/hashicorp/packer/issues/5335
ricardclau/packer,paulmey/packer,pecigonzalo/packer,grubernaut/packer,paulmey/packer,hashicorp/packer,paulmey/packer,mitchellh/packer,pecigonzalo/packer,timsutton/packer,ricardclau/packer,tb3088/packer,paulmey/packer,KohlsTechnology/packer,youhong316/packer,bryson/packer,ricardclau/packer,timsutton/packer,KohlsTechnology/packer,dave2/packer,grubernaut/packer,grubernaut/packer,tb3088/packer,p1-nico/packer,tas50/packer,rnaveiras/packer,KohlsTechnology/packer,ChrisLundquist/packer,timsutton/packer,rnaveiras/packer,KohlsTechnology/packer,hashicorp/packer,routelastresort/packer,rnaveiras/packer,routelastresort/packer,dave2/packer,timsutton/packer,ChrisLundquist/packer,mkuzmin/packer,bryson/packer,dave2/packer,bryson/packer,grubernaut/packer,mkuzmin/packer,mkuzmin/packer,pecigonzalo/packer,mkuzmin/packer,tb3088/packer,p1-nico/packer,bryson/packer,youhong316/packer,youhong316/packer,timsutton/packer,mitchellh/packer,p1-nico/packer,mitchellh/packer,bryson/packer,ricardclau/packer,ChrisLundquist/packer,p1-nico/packer,tb3088/packer,pieter-lazzaro/packer,dave2/packer,mkuzmin/packer,tb3088/packer,routelastresort/packer,ricardclau/packer,timsutton/packer,routelastresort/packer,bryson/packer,KohlsTechnology/packer,grubernaut/packer,pieter-lazzaro/packer,dave2/packer,youhong316/packer,pieter-lazzaro/packer,dave2/packer,mitchellh/packer,ChrisLundquist/packer,tas50/packer,tas50/packer,ChrisLundquist/packer,tb3088/packer,grubernaut/packer,ChrisLundquist/packer,rnaveiras/packer,tas50/packer,p1-nico/packer,rnaveiras/packer,tas50/packer,hashicorp/packer,tas50/packer,pieter-lazzaro/packer,pieter-lazzaro/packer,mkuzmin/packer,paulmey/packer,ricardclau/packer,hashicorp/packer,routelastresort/packer,pecigonzalo/packer,rnaveiras/packer,pieter-lazzaro/packer,paulmey/packer,KohlsTechnology/packer,youhong316/packer,youhong316/packer,p1-nico/packer,mitchellh/packer