Eliminate memory leak

I have eliminated a memory leak in the importer. The created metadata
records do not need to be added additionally to the snapshot, this only
keeps a reference on them which is not needed at all.

Signed-off-by: Konrad Reiche <konrad.reiche@gmail.com>