BUG-576: if replaced with else-if in enterImport_stmt method.