[plugins] Example plugin use goal from hookData
[plugins] Example plugin use goal from hookData

Some applications (PackageKit) do not set goal in context.
We have to use goal from hookData.

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