For mains voltage repairs you’re 100% right but given this is a low voltage application simply twisting the wires together and covering with tape will do the job...not a permanent solution by any means but will get you out of a fix if you are stuck.