Fix error message when there is no branch
Fix display of awaiting commits