Fixing bug with alembic migration script regarding configuration.

Change-Id: Ib09c5a3d9282798cffb49b059df1d7def771caa0