Fix stackoverflow on loadAndPrepareMetadata

The old method signature was calling itself leading
to an infinite recursion. Slightly scary that this
wasn't more apparent.