Avoid crash on missing database file.

Signed-off-by: Tod Fitch <Tod@FitchDesign.com>