Streets spanning two cities with one node in one city

I recognize this problem, both of them are streets in Malmö that extend into neighboring Burlöv. But as they are completely straight from the border to the end in Burlöv there’s only one node (the end node) on the Burlöv side. And it seems CS have problems handling that. I have previously solved such cases by inserting two new nodes, one on each side of that border. Then you get two nodes in Burlöv, in this case, and also an “end node” for Malmö. I’m not sure what the OSM etiquette is for doing this though…