[scripts] Fixing invalid bundle generation.

Signed-off-by: Stéphane Galland <galland@arakhne.org>