graph: handle 'sqlite3' not installed gracefully