That's not good, how much room do you have to work there?
Your repair method will depend on the amount of boss left for the threads. Is there enough to drill out for a helicoil? And rather than helicoil, you may consider an insert from Timesert, good stuff.
If there is much left of your threads, you could run the tap down in there one time to get as much thread back as you can, and convert it over to a stud rather than a bolt. If you JB Weld in the stud, it will work for you.
Current 2009 990 KTM ADV -R
2004 DL1000 gone
2002 KTM EXC520
2000 KTM MXC300 gone