When the opponent has attacked your city, do not repair green hulls! First, you must defend yourself.

Why?

In case the opponent puts a jackpot booster on you and you don't defend yourself, by repairing, you give the opponent an extra damage that he can take advantage of with that jackpot to make double points.

How should this be done?

It is normal that the opponent attacks you with a jackpot booster. Check if this is the case. And if you see it on, first fail the jackpot with a dud booster, then you can repair the green hulls.

Another option would be to wait for the jackpot time to pass to start repairing. In the meantime, you can always prepare the items requested by the green hulls so that, once the jackpot has passed, you can leave quickly.