Fixed parameter when calling migrate_static_registration.

On #7, I made a mistake when refactoring: $defined_migration now contains all the migrations on root, not inside a key element called "migrations". I fixed that here.