Error message improvement on repack and unpack.