This allows future runs of a loader to know a package was already
loaded, without querying each of the revisions individually and
parsing their metadata.
Eventually, this will allow us to get rid of the 'metadata' column
on the 'revision' table entirely.