refactor spec-file options a bit
refactor spec-file options a bit

remove nested if statement.

Closes #11076

lindsayad/moose,idaholab/moose,permcody/moose,bwspenc/moose,SudiptaBiswas/moose,lindsayad/moose,lindsayad/moose,lindsayad/moose,andrsd/moose,dschwen/moose,harterj/moose,milljm/moose,idaholab/moose,sapitts/moose,dschwen/moose,laagesen/moose,YaqiWang/moose,idaholab/moose,bwspenc/moose,sapitts/moose,laagesen/moose,andrsd/moose,andrsd/moose,dschwen/moose,permcody/moose,idaholab/moose,jessecarterMOOSE/moose,bwspenc/moose,milljm/moose,idaholab/moose,jessecarterMOOSE/moose,jessecarterMOOSE/moose,permcody/moose,permcody/moose,jessecarterMOOSE/moose,milljm/moose,andrsd/moose,harterj/moose,YaqiWang/moose,SudiptaBiswas/moose,laagesen/moose,SudiptaBiswas/moose,nuclear-wizard/moose,sapitts/moose,dschwen/moose,SudiptaBiswas/moose,dschwen/moose,harterj/moose,milljm/moose,sapitts/moose,andrsd/moose,sapitts/moose,harterj/moose,bwspenc/moose,nuclear-wizard/moose,milljm/moose,jessecarterMOOSE/moose,bwspenc/moose,nuclear-wizard/moose,YaqiWang/moose,YaqiWang/moose,lindsayad/moose,laagesen/moose,harterj/moose,SudiptaBiswas/moose,nuclear-wizard/moose,laagesen/moose