DDF-82: Only perform resource retrieval when requested

The previous commit performed a resource retrieval even when other
transformers were specified, which is wrong.

We also change log4j to slf4j.