Fix crashing frontend initialisation throwing std::bad_optional_access
Line: https://gitlab.cern.ch/cta/CTA/-/blob/main/scheduler/OStoreDB/OStoreDB.cpp?ref_type=heads#L125
calls a value() on optional. When we pass no value, optional throws the std::bad_optional_access
.
Related to the following OPS ticket: https://gitlab.cern.ch/cta/operations/-/issues/1358