determine REV_CACHE correctly not using environment variable