Fix toggle/space crash when no items present.
Fix toggle/space crash when no items present.

thr0w/git-commander,Calinou/git-commander,krazyeom/git-commander,allengaller/git-commander,zeroxy/git-commander,fredericksilva/git-commander