indexer: check the packfile trailer for correctness

The packfile trailer gets sent over and we should check whether it's
correct as part of our sanity checks of the packfile.
indexer: don't reiterate the class in the message