If a package exists, don't build it, but if it's not installed, install it.
Don't record duplicate dependencies.