Redirect to full site if schema is not found

I wonder what you think of this. I figure the errors should be caught closest to where they originate. That's why instead of catching this error in the controller, it might be a better idea to do so here.