Fix metadata dependency loading

Due to the way the dependency graph was being generated, the lite
metadata was overriding the actual metadata file that we want to use
(full).
Merge pull request #3 from seegno/bugfix/metadata-loading

Fix metadata dependency loading