ENH handle corner case when there is not yet a sqlite3 database