deployment: Fix reference to warn() in restore().

This was broken by 1aa027240c4df89dd4dc214f9e40fe9bb2514210.

Thanks to @rbvermaa for reporting this.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>