no progress bar if tree is empty

Avoids hitting a failing assert in the progressbar package.