A while ago there was an issue with haxelib because it wouldn't remove multiple trailing slashes. In this particular case it probably doesn't matter, but in general we should consider this.

Also note that Haxe 3.1.0 added `haxe.io.Path.removeTrailingSlashes`.