Nevermind I found a solution:
I had to add an additional tag to the way, then resolve conflict showed the new tag and I could resolve. Then the upload worked. But afterwards I had to revert the way in Potlach to the old version because josm did not update to the new version correctly.