Fix post_install to capture output and errorlevel correctly

This is the logging bug that was preventing rollbacks from occurring.

@ofanite, @edhealy, @marcuswalser, @jjrussell
cc: @Tapjoy/opsautomation