Werk #14046: inventory_lnx_packages: Fix crash when there is no package version

Component HW/SW inventory
Title inventory_lnx_packages: Fix crash when there is no package version
Date May 9, 2022
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.2.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.1.0b9 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

Discovery would crash if there was no package version. It would result with packages not being shown in the Inventory tree.

To the list of all Werks