Fixed tput error when TERM value isn't set (cron job).