The Submodule class treats all paths as relative to the current working directory, regardless of the actual path to the repository. This complicates batch operations on repositories involving submodules, as the cwd must be changed and re-changed for each repo.