Apply suggestions from code review
Apply suggestions from code review

Co-authored-by: Evgeny Kolesnikov <41a0ada347678881c925e4c603888da1299320b9@gmail.com>
Co-authored-by: Matěj Týč <605f10da334a373c6b4a3527bf6fcdf58e1c1465@gmail.com>
OpenSCAP/openscap,OpenSCAP/openscap,OpenSCAP/openscap,OpenSCAP/openscap,OpenSCAP/openscap,OpenSCAP/openscap