Fix bug when an extension as no migration