Fix loading of migration provider class

Change the loading of the migration provider to load it in the proper namespace.

@bartv2 @tanghus