The default name of the database ("mediagoblin") was coded in db/open.py and init/celery/__init__.py. Instead use the new config system to have this as the default for the "db_name" config option.
As the first target of the new .init. submodule move celery_setup there. Quite straight forward, just a lot of places to change.