Only report "unknown metadata" once per restore helper

Also removes the auto-free object, replacing it with direct memory manipulation.
2 files changed