docs: def checkout_dirs(self):
          """Return directories inside the base directory."""
          directories = [os.path.join(self.base_directory, d)
                         for d in os.listdir(self.base_directory)]
          return [d for d in directories if os.path.isdir(d)]