proper error message if imported package is missing