BaseJniExtractor: remove unnecessarily nested else