Fix NPE in resource-response for jar dirs (fixes #169)