Botulism from *uncooked* potatoes wrapped in foil?
One of the nicer things about botulism (there are not many) is that heat does neutralize the toxin. So unless you are licking the raw potatoes, not likely to be a problem.

The odds of the foil-wrapping being actually airtight are also about zero, so it's unlikely that you'd actually get botulism, as that requires an anaerobic environment.

Now, why you'd buy foil-wrapped potatoes in the first place is beyond me, but I'm not seeing a safety issue here.