Additional apt-get update to fix key errors found

1. The initial failures are happening because of package installation failures
because of apt key issues - apt-get install throwing warnings "packages cannot
be authenticated". A manual apt-get update fixed that problem (I tried it in two
different acceptance test environments).

So added a fix for that - if apt-get install fail, repeat apt-get update.

2. Repeating puppet apply was not working because of a typo (missing escape on
collecting return value. Fixed it by escaping it.

@sorenh Sure Ill get cloud init output log once this happen again. I remember I informed you (or bodepd) about this in slack on Dec 4.