Packer 0.5.1 support

Fixes #1