Well, that would get rid of the "dots", but I don't really think that would solve then problem, and shouldn't be necessary. If the script really can't handle "." in a path, then I'd get in contact with the script author and get that addressed.
As Patricktan pointed out, you probably shouldn't publish that information. That said, you should not need to change your host name - it is in commonly acceptable form as it is.
That obviously made it worse; when yousay you "reran the script" did you "re-install it", or rerun the install script, or just rerun the main script itself? If you changed the path, and the host info, you would need to either reinstall the script or change the appropriate configuration files.
If it were me, I'd "clear everything out" and start over.