glpi: License count Fix traceback if software is empty