Merge "GenerationCache::get would return a random value instead of NULL Bug #5401917"