ti-pru-cgt-installer: more error checks

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>