Fix metadata import
Merge pull request #11 from Fragan/fix-metadata-import

[master] Fix metadata import