ENGINE-1582, fix getPlatform in cache