Yes, just do this, it's a 10min job even if you're not great at soldering, strip the wires, twist together to test, when happy solder (slide on heat shrink first), then wrap around some waterproof electrical tape, sorted!
The connecting cable you posted pic of above just adds more crap that...