#24322 Git locators ending with a slash are now handled correctly.