Revert "Handle situation when an unprivileged user cannot create history database"
Revert "Handle situation when an unprivileged user cannot create history database"

It destroy DNF builds.

This reverts commit 2659832b7d1ceedd45740a90d08c9f65800cd53a.

rpm-software-management/libhif,rpm-software-management/libdnf,rpm-software-management/libhif,hughsie/libhif,rpm-software-management/libhif,rpm-software-management/libhif,rpm-software-management/libdnf,rpm-software-management/libdnf,rpm-software-management/libdnf,hughsie/libhif,hughsie/libhif,hughsie/libhif