Update MigrationGenerator to return correct path

Maybe for the other generators this would work, but migrations turn the path provided into the migration-like path, so if the generation succeeded, we get the path from the generator's public `path` field directly, which was updated during the generation process.