make PackageKit integration optional

Authored by mkoller on Oct 1 2018, 7:27 PM.