Fix 404 handler from being stuck in loop with no web_root set.