MetadataParser: Fix thumbnail relocation

To be backported to 0.6.x

Merge request reports