BibExport: fix Flask init issue