bugfix: SQLStore._verifyDatabases()

Need to check return type from `SQLStore._query()` as this will
only raise error relating to database connection or cursor
creation. Initialize database if a query for identifier returns
`None` rather than a list.