Well, the motor cable finally arrived (Thanks, Evri...) and it's no bloody use at all! I now have two female connectors, which I find totally weird.
So I'll just cut the cable and solder things. I'd hoped to have a neat, removable solution, but obviously the universe had other ideas.