[server] *init_repository* lookup the database instead of the schema to drop tables (closes #810743) [applied]