Better way to avoid NPE in resource cache - don't let the request get that far when we know we are going to fail it anyway.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1573370 13f79535-47bb-0310-9956-ffa450edef68