add improved error message on ImportError