Remove trailing / as well.