Fixed for Packer v0.5.1. It works for VirtualBox 4.3.6. As for VMware,
it is not tested yet.
Merge pull request #1 from genta/packer-v0.5.1-support

Support recent version of Packer (v0.5.1)