Don't access [0]th entry of what may be an empty string.
Don't access [0]th entry of what may be an empty string.

Be consistent with other string checks in the same file.

Refs #2105.

r20905

xy515258/moose,jhbradley/moose,liuwenf/moose,SudiptaBiswas/moose,adamLange/moose,roystgnr/moose,WilkAndy/moose,liuwenf/moose,jbair34/moose,backmari/moose,apc-llc/moose,sapitts/moose,apc-llc/moose,katyhuff/moose,kasra83/moose,dschwen/moose,milljm/moose,waxmanr/moose,idaholab/moose,bwspenc/moose,roystgnr/moose,jiangwen84/moose,harterj/moose,lindsayad/moose,mellis13/moose,harterj/moose,Chuban/moose,waxmanr/moose,jasondhales/moose,stimpsonsg/moose,harterj/moose,milljm/moose,SudiptaBiswas/moose,giopastor/moose,waxmanr/moose,wgapl/moose,jiangwen84/moose,laagesen/moose,WilkAndy/moose,tonkmr/moose,andrsd/moose,adamLange/moose,roystgnr/moose,capitalaslash/moose,shanestafford/moose,zzyfisherman/moose,zzyfisherman/moose,SudiptaBiswas/moose,jasondhales/moose,jhbradley/moose,tonkmr/moose,tonkmr/moose,kasra83/moose,backmari/moose,stimpsonsg/moose,SudiptaBiswas/moose,yipenggao/moose,nuclear-wizard/moose,lindsayad/moose,idaholab/moose,dschwen/moose,markr622/moose,raghavaggarwal/moose,jinmm1992/moose,zzyfisherman/moose,xy515258/moose,jiangwen84/moose,sapitts/moose,WilkAndy/moose,jbair34/moose,xy515258/moose,backmari/moose,raghavaggarwal/moose,shanestafford/moose,friedmud/moose,mellis13/moose,danielru/moose,nuclear-wizard/moose,idaholab/moose,liuwenf/moose,sapitts/moose,WilkAndy/moose,roystgnr/moose,apc-llc/moose,giopastor/moose,jinmm1992/moose,Chuban/moose,bwspenc/moose,jinmm1992/moose,yipenggao/moose,permcody/moose,roystgnr/moose,tonkmr/moose,kasra83/moose,laagesen/moose,joshua-cogliati-inl/moose,idaholab/moose,andrsd/moose,andrsd/moose,sapitts/moose,wgapl/moose,cpritam/moose,yipenggao/moose,nuclear-wizard/moose,bwspenc/moose,laagesen/moose,wgapl/moose,tonkmr/moose,dschwen/moose,mellis13/moose,jessecarterMOOSE/moose,cpritam/moose,katyhuff/moose,nuclear-wizard/moose,cpritam/moose,jhbradley/moose,andrsd/moose,jasondhales/moose,danielru/moose,dschwen/moose,milljm/moose,backmari/moose,stimpsonsg/moose,markr622/moose,jessecarterMOOSE/moose,laagesen/moose,jessecarterMOOSE/moose,andrsd/moose,bwspenc/moose,friedmud/moose,lindsayad/moose,stimpsonsg/moose,sapitts/moose,wgapl/moose,liuwenf/moose,shanestafford/moose,joshua-cogliati-inl/moose,friedmud/moose,mellis13/moose,permcody/moose,bwspenc/moose,WilkAndy/moose,jasondhales/moose,liuwenf/moose,idaholab/moose,xy515258/moose,YaqiWang/moose,danielru/moose,jbair34/moose,katyhuff/moose,jbair34/moose,cpritam/moose,roystgnr/moose,friedmud/moose,yipenggao/moose,jhbradley/moose,lindsayad/moose,apc-llc/moose,capitalaslash/moose,waxmanr/moose,WilkAndy/moose,zzyfisherman/moose,joshua-cogliati-inl/moose,milljm/moose,YaqiWang/moose,markr622/moose,raghavaggarwal/moose,jessecarterMOOSE/moose,harterj/moose,zzyfisherman/moose,shanestafford/moose,capitalaslash/moose,adamLange/moose,permcody/moose,shanestafford/moose,jinmm1992/moose,cpritam/moose,harterj/moose,Chuban/moose,Chuban/moose,jessecarterMOOSE/moose,shanestafford/moose,danielru/moose,cpritam/moose,zzyfisherman/moose,milljm/moose,liuwenf/moose,YaqiWang/moose,raghavaggarwal/moose,adamLange/moose,joshua-cogliati-inl/moose,jiangwen84/moose,kasra83/moose,dschwen/moose,capitalaslash/moose,lindsayad/moose,YaqiWang/moose,tonkmr/moose,giopastor/moose,laagesen/moose,roystgnr/moose,giopastor/moose,katyhuff/moose,markr622/moose,permcody/moose,SudiptaBiswas/moose