Return the installable extra that declares a package.
Resolves recovery hints from the package that is actually missing
instead of guessing from a provider identifier. For example,
langchain-google-vertexai maps to the vertex extra even though the
provider id is google_vertexai.
Distribution package name to find in optional dependencies.
Name of the installed distribution to inspect.