The voltage regulator on my car has been replaced with an electronic type, but the "container" is similar to but shorter than the one you show in the top picture. I just took the top case off, re-wrapped the joint with yellow electrical tape, and voila, picture perfect replacement.