fix annoying space in branch field if rev-list fails for no remote