Fixed segfault when verifying file without verifiable pages

The no pages to validate condition was caught and cleand up, but the function
didn't return and dereferenced an invalid iterator