def METHOD_NAME(self) -> Path:
    extraction_folder = self.get_archive_extraction_folder()
    # If has one subfolder, that one is the source code
    subfolders = list(extraction_folder.glob("*"))
    source_folder = subfolders[0] if len(subfolders) == 1 else extraction_folder
    # Heuristic to check if this is a valid source code folder
    assert (source_folder / "go.mod").exists(), f"This is not a valid source code folder: {source_folder}"
    return source_folder