SOLR-5520: Backport one more issue, to fix velocity to only use resource loading.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_3_6@1549956 13f79535-47bb-0310-9956-ffa450edef68