Don't error out when a package is already installed

Fixes #17010.