Prevent crash on startup. Preliminary fix! I still need to actually reproduce original crash!
https://github.com/darktable-org/darktable/pull/548#issuecomment-42763922