Remove extra trailing slash.