Remove ending slash in repo base path