There is a further optimization for file dependencies not in some whitelist that might be
undertaken by depsolvers like dnf: lookup the path in the already installed packages.
The fundamental need for depsolvers resolving a dependency is the ability to traverse a
mapping from path to package in order to determine whether there is a "newer"
package available so that the package that provides a path can be upgraded.
Resolving the path dynamically to a package name, or even using the existence of a file as
a means to resolve a dependency, is a better approach than downloading megabytes of data
"just in case".