Prune trailing / from baseurl