code: def _is_local_repository(cls, repo):
          # type: (str) -> bool
          
          drive, tail = os.path.splitdrive(repo)
          return repo.startswith(os.path.sep) or bool(drive)
docs: posix absolute paths start with os.path.sep,
             win32 ones start with drive (like c:\\folder)