ignore sqlite dbs as well
minor code tweaking