Create the dbfile if missing

Since the first exec statement only refreshs the dbfile, we need a
second exec statement which creates the dbfile if it's missing (e.g.
got manually deleted).
Merge branch 'develop'