Properly unpack LOKI images