Fix sideways grenade local tmp variables

These variables are not declared within any function and declaration
fails, causing the script to exit 1 and sideways jobs fail.

Change-Id: Ib49d34de7404a277ee949f9c2247477b417c6c62