Do not cache dependencies when not using memcache affinitic refs #5749