A cast iron pan is about 3 mm thick. I don't know whether that's thick enough.

MacGyver would just use a stick of gum and straighten the bent nail on the foil wrapper. That only works if you connect the wrapper to a battery and douse the nail in hydrogen peroxide. (jk)