I just encountered this bug last night w/ a modded service rifle. My work around was to get a non-modded service rifle, repair it, and the use it to repair the modded one.
I guess we'll have to add this to the "I hope they fix this in the next patch" list.
And yes, I'm fully patched up to 1.2.0.314