#23209 Added better fixup of paths which contain anomalies such as
double slashes.