Crash on broken internal query without index

Based on https://github.com/gjtorikian/html-proofer/issues/41#issuecomment-52594922 by @nschonni

I will try to fix it here.
How about:

> Sets the file to look for when a link refers to a directory.