def METHOD_NAME(self) -> Optional[PackageConfig]:
    comment = self.__dict__["comment"]
    commands = get_packit_commands_from_comment(
        comment, ServiceConfig.get_service_config().comment_command_prefix
    )
    if not commands:
        return super().METHOD_NAME()
    command = commands[0]
    args = commands[1] if len(commands) > 1 else ""
    if command == "pull-from-upstream" and "--with-pr-config" not in args:
        # when retriggering pull-from-upstream from PR comment
        # take packages config from the downstream default branch
        logger.debug(
            f"Getting packages_config:\n"
            f"\tproject: {self.project}\n"
            f"\tbase_project: {self.base_project}\n"
            f"\treference: {self.base_project.default_branch}\n"
        )
        packages_config = PackageConfigGetter.get_package_config_from_repo(
            base_project=self.base_project,
            project=self.project,
            reference=self.base_project.default_branch,
            pr_id=None,
            fail_when_missing=True,
        )
        return packages_config
    else:
        return super().METHOD_NAME()