Revert "prevent a double-slash / remove unneeded slash"

This reverts commit 532a76d38c1044b5bfda764fde14f4ad88771fba.