Fix printing of bad repository vars
sbuf_finish() is proper here, sbuf_done() just checks if it is finished