Fix use install script with not term

remove use of command tput sgr0 if not term defined like on cron (for
backup action)
avoid error: tput: unknown terminal "unknown"
Merge pull request #982 from cyrilleJ/master

Fix use install script with not term