fixed test failure without access to cache dir
Merge pull request #610 from candlepin/ckozak/fix_test_failure

fixed test failure without access to cache dir