Avoid crash in /schema route when record in configuration database is missing.