Fix errors in PackageKit install.