update make-pkg with some better error reporting and debug flag
Merge pull request #1779 from aabes/make-pkg-debug

https://github.com/crowbar/crowbar/pull/1779

Merged by devtool for VictorLowther