Bugfix: Don't crash if database is not present