BibFormat: fix app contenxt issue in bibreformat

* Fixes an app context issue in bibreformat CLI program.