Do not try to obtain elements when self.xml[i] is None.
Do not try to obtain elements when self.xml[i] is None.

Same approach is already implemented in `APK.get_element()`.

androguard/androguard,androguard/androguard,reox/androguard