NEXUS-7371: remove unwanted trailing dash