Remove trailing slash in $PATH