Bug 828730: Fix crash in test_signed_apps/generate.sh, r=bsmith, a=NPOTB

--HG--
extra : source : 9f1d90aba921ee9dd7aab50faf299f319070b135