reimage: fix unbound variable

Change-Id: I229f164e8a2caff01eb0554b2bdbaffd080cd012
Signed-off-by: Giuseppe Lavagetto <glavagetto@wikimedia.org>