The migration is done very early, as other upgrade scripts depend on the band setting through platform.device_uses_11a().