Ensure that path separator for the script when guessing the base path uses forward slash instead of the OS' directory separator. (e.g. "\" in Windows)