You don't have to repurchase them. Once you own them, you own them. You just have to reinstall them at a ripper doc.
That being said, I have the same bug too. Anytime I sell, disassemble, or generally do anything with grenades, I lose my cyberarms. Which means I have to constantly take a trip...