Catch ImportError to work on App Engine