agent: Allow TERM="".