Strip extra /, if it exists.