Added a backoff for finding resources with directory path rather than class path