I'm sure there's a plug. If you don't mind doing a little work I'm sure you could get some heat shrink tubing and cut the plug off the factory light and use an aftermarket option for savings (may make sense if you think you're at risk of breaking another one (or two).
It bugs me that the lights are the shape they are. If they were square and aerodynamic so branches would simply slide over the top of them it would be a much better design IMO.