That electrical tape was actually my doing
after i tore off the old electrical tape to see what was under. It looks to me like they replace the pigtail with that replacement using those connectors and the provided heatshrink insulators. Nothing looked bad underneath it. As far as I can tell the electrical tape is just there for support and to hold that one connector with the brown wire in place away from heat sources.