This bug has been created based on an anonymous crash report requested by the package maintainer.
Report URL: https://faf.lab.eng.brq.redhat.com/faf/reports/bthash/d307741bd2d6726f9c87a823848f31c745873dda/
According to FAF report problem occurs with libdnf-0.35.1-2 .
I think that I solved the problem in the PR https://github.com/rpm-software-management/libdnf/pull/761 .
The patch is included in the libdnf-0.35.1-3 and newer.