packer: add `pwd` function with working directory [GH-762]