def METHOD_NAME(self, package: str, tag: str) -> Optional[dict]:
    """
    Gets the latest build of a package tagged into the specified tag.
    Args:
        package: Package name.
        tag: Koji tag.
    Returns:
        Latest build or None if there is no such build.
    """
    try:
        builds = self.session.listTagged(
            package=package, tag=tag, inherit=True, latest=True, strict=True
        )
    except Exception as e:
        logger.debug(
            f"Failed to latest build of package {package} in tag {tag} from Koji: {e}"
        )
        return None
    if not builds:
        return None
    return builds[0]