[dnf] implement GetPackageWithAttributes & GetAttribute