### What this PR does / why we need it? Found a problem when ImportError raised but not ModuleNotFoundError. ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? CI passed Signed-off-by: Shuqiao Li <celestialli@outlook.com>