Remove the trailing slash.