Merge "Remove deprecated option --sce-results"
diff --git a/_modules/oscap/utils.py b/_modules/oscap/utils.py
index f026fdc..973d514 100644
--- a/_modules/oscap/utils.py
+++ b/_modules/oscap/utils.py
@@ -141,8 +141,8 @@
             def_dict['ref_id'] = definition.metadata.reference['ref_id']
             def_dict['link'] = definition.metadata.reference['ref_url']
             def_dict['severity'] = definition.metadata.advisory.severity.cdata
-        except AttributeError:
-            # NOTE(e0ne): inventory  does't have definition.metadata.reference
+        except (AttributeError, IndexError):
+            # NOTE(e0ne): inventory  does't have some element
             pass
 
     return definitions