Fix issue #49 Certain poorly created packages crash the size calculation code.