Do not print any result if variable output is empty in terminal-status

An empty variable printed out leaded to an inelegant "\n" showed to
user. Let's give up that and output nothing if there is nothing to show
like in a bare repository.