Only echo the link if stdout is not a terminal