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.
@gjtorikian Can you please check the description for the new option `directory_index`?