only set up S3 caching if actually used
local only cont check
Merge pull request #145 from travis-ci/rkh-conditional-cache

only set up S3 caching if actually used