Fix a crash in ls-remote when refspec expands into nothing
Fix a crash in ls-remote when refspec expands into nothing

Originally-by: Väinö Järvelä <7a38d8cbd20d9932ba948efaa364bb62651d5ad4@pp.inet.fi>
Signed-off-by: Alex Riesen <053ce55f4869b7f450d1d77b8f162c6f2bb9e137@gmail.com>
Signed-off-by: Lars Hjemli <1022a68b169538dabe33b1e3a08dffa0cefd6c22@gmail.com>
Signed-off-by: Shawn O. Pearce <f01032651c12a22b2103346ba96b3b6b231f9d3c@spearce.org>

destenson/git,destenson/git,destenson/git,destenson/git,destenson/git,destenson/git,destenson/git,destenson/git