Fix unpacking of hardened stage