remove all trailing slashes from a haxelib dev path