It's just a myth, I believe. I honestly haven't seen any gecko die from a mealworms eating its way out. They chomp their food a lot, usually, before swallowing. I feed all of mine mealworms, even hatchlings, and I've never had a problem.

Good luck with her, and if you have any questions, don't hesitate to post