Removes obsolete code

This is now handled by `PackageInstallationDispatcher::installPackage()`.