Fix segfault.
Fix segfault.

Caused by trying to check the hash of a file that has not been
recorded in the database, even when it is recognized as a 'new'
file.

mdclyburn/corrcheck,mdclyburn/corrcheck