Fix database initialisation trying to use `modelPaths`.