Ray
There's probably a tap you can buy to clean the threads before installation, but I know nothing of such matters.
Make sure the derailleur is not going to pull out of the threads - it's under quite a lot of force from the derailleur spring. I had one pull itself out of what seemed to be compromised but okay threads and launch itself into the back wheel. Broke the derailleur, bent the hanger and even after rebuilding the wheel, left a hop in the rear rim.
I used a Problem Solvers "drop out saver" sleeve and it's been fine ever since. When drilling out the threads, I actually used a round file and made the hole a fraction undersize to achieve a press fit.
The sleeve is not a perfect solution as it can protrude enough to interfere with the smallest gear depending on clearance. I had to file the dropout saver flange a touch on my bike to clear the 9th cog in 130mm OLN spacing (not a Riv).
IanA