 
             // Process dependencies of this package, similar to the first phase but branch-based dependencies
             // are not allowed to contain local/unversioned packages.
-            let container = try getContainer(for: package)
+            let container = try provider.getContainer(for: package)
 
             // If there is a pin for this revision-based dependency, get
             // the dependencies at the pinned revision instead of using

            // We collect all version-based dependencies in a separate structure so they can
            // be process at the end. This allows us to override them when there is a non-version
            // based (unversioned/branch-based) constraint present in the graph.
            let container = try getContainer(for: package)
            for dependency in try container.getUnversionedDependencies() {
                if let versionedBasedConstraint = VersionBasedConstraint(dependency) {
                    versionBasedDependencies[package, default: []].append(versionedBasedConstraint)

        }

        return incompatibilities
    }
}

