codeintel: Reduce chance of creating unknown database on open
Created by: efritz
If the bundle manager is queried with an unknown database, the sqlite driver will create a new, empty database and will immediately fail. We should instead ensure that the file exists before opening, and return a 404 otherwise.