throw if metaDb is incorrect
Merge pull request #3 from ralphtheninja/master

throw on invalid metaDb