Fixed the error message when a class referenced in `pyo3::import_exception!` does not exist