Fix logical bug when creating installers and rta key files

Append keys into rta description file only when installer creation
has completed ok.

Change-Id: I937a22a070a61c4bbf23afc3dc0cdcc22f20d061
Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>