Local packages are now not considered anymore for upgrading.

A spurious project-local package was installed before, even if the dependency was available locally.