Fix Support for bundling entire directories.

Fix issue: #150 

Derived from https://github.com/zerovm/zpm/pull/188.