cache.sqlite: handle sqlite ImportError

This will fix bug #353836.
1 file changed