clean up redundant logic in getFormData
clean up redundant logic in getFormData

Change-Id: Iec076ea169d590512219a3338fc7efb70c9e6b37
Reviewed-on: https://gerrit.instructure.com/10137
Reviewed-by: Jon Jensen <44f878afe53efc66b76772bd845eb65944ed8232@instructure.com>
Tested-by: Hudson <dfb64870173313a9a7b56f814c8e3b33e268497a@instructure.com>

shidao-fm/canvas-lms,wimemx/Canvas,whalejasmine/canvas-lms,snehakachroo1/LSI_replica,usmschuck/canvas,samuels410/greatlakes-lms,venturehive/canvas-lms,arrivu/jigsaw-lms,arrivu/jigsaw-lms,sdeleon28/canvas-lms,Unow/canvas-lms,arrivu/arrivu-lms,nditech/red-innovadores-lms,matematikk-mooc/canvas-lms,dgynn/canvas-lms,Rvor/canvas-lms,grahamb/canvas-lms,narigone/canvas,AndranikMarkosyan/lms,AndranikMarkosyan/lms,whalejasmine/canvas-lms,ShreniiNepal/shrenii_lmp,leftplusrightllc/canvas-lms,instructure/canvas-lms,roxolan/canvas-lms,efrj/canvas-lms,Jyaasa/canvas-lms,sfu/canvas-lms,venturehive/canvas-lms,instructure/canvas-lms,nditech/red-innovadores-lms,wrdsb/canvas-lms,merichar/canvas-lms,tgroshon/canvas-lms,kyroskoh/canvas-lms,utkarshx/canvas-lms,snehakachroo1/LSI_replica,loganrun/pincan,roxolan/canvas-lms,sfu/canvas-lms,tgroshon/canvas-lms,utkarshx/canvas-lms,djbender/canvas-lms,sdeleon28/canvas-lms,HotChalk/canvas-lms,ShreniiNepal/shrenii_lmp,arrivu/arrivu-lms,gbleydon/canvas-lms,sfu/canvas-lms,skmezanul/canvas-lms,snehakachroo1/LSI_replica,wimemx/Canvas,arrivu/qibla-ecampus,tgroshon/canvas-lms,grahamb/canvas-lms,tgroshon/canvas-lms,leftplusrightllc/canvas-lms,parbros/red-innovadores-lms,antoniuslin/canvas-lms,va7map/canvas-lms,SwinburneOnline/canvas-lms,narigone/canvas,arrivu/hoodemo,samuels410/greatlakes-lms,rup/Tarrax,landonwilkins/canvas-lms,arrivu/hoodemo,instructure/canvas-lms,djbender/canvas-lms,instructure/canvas-lms,wrdsb/canvas-lms,ankithbti/canvas_lms,greyhwndz/canvas-lms,utkarshx/canvas-lms,shidao-fm/canvas-lms,AndranikMarkosyan/lms,SwinburneOnline/canvas-lms,sfu/canvas-lms,Rvor/canvas-lms,sdeleon28/canvas-lms,whalejasmine/canvas-lms,em2/canvas-lms,icelab/canvas,SwinburneOnline/canvas-lms,redconfetti/canvas-lms,matematikk-mooc/canvas-lms,grahamb/canvas-lms,juoni/canvas-lms,kyroskoh/canvas-lms,venturehive/canvas-lms,shidao-fm/canvas-lms,wrdsb/canvas-lms,antoniuslin/canvas-lms,landonwilkins/canvas-lms,Unow/canvas-lms,shidao-fm/canvas-lms,whalejasmine/canvas-lms,usmschuck/canvas,fronteerio/canvas-lms,parbros/red-innovadores-lms,merichar/canvas-lms,efrj/canvas-lms,HotChalk/canvas-lms,kyroskoh/canvas-lms,usmschuck/canvas,juoni/canvas-lms,jay3126/canvas-lms,instructure/canvas-lms,wye0220/shindig-canvas,jay3126/canvas-lms,sli7246/canvas_branch,redconfetti/canvas-lms,greyhwndz/canvas-lms,redconfetti/canvas-lms,Jyaasa/canvas-lms,nditech/red-innovadores-lms,ankithbti/canvas_lms,kyroskoh/canvas-lms,ShreniiNepal/shrenii_lmp,va7map/canvas-lms,redconfetti/canvas-lms,eCNAP/CANVAS,leftplusrightllc/canvas-lms,arrivu/hoodemo,instructure/canvas-lms,sfu/canvas-lms,fronteerio/canvas-lms,eCNAP/CANVAS,eCNAP/CANVAS,va7map/canvas-lms,sli7246/canvas_branch,sfu/canvas-lms,Unow/ins,nditech/red-innovadores-lms,wye0220/shindig-canvas,em2/canvas-lms,leftplusrightllc/canvas-lms,landonwilkins/canvas-lms,gbleydon/canvas-lms,fronteerio/canvas-lms,merichar/canvas-lms,juoni/canvas-lms,usmschuck/canvas,parbros/red-innovadores-lms,jay3126/canvas-lms,greyhwndz/canvas-lms,SwinburneOnline/canvas-lms,roxolan/canvas-lms,icelab/canvas,matematikk-mooc/canvas-lms,arrivu/jigsaw-lms,arrivu/qibla-ecampus,efrj/canvas-lms,dgynn/canvas-lms,HotChalk/canvas-lms,icelab/canvas,samuels410/greatlakes-lms,ankithbti/canvas_lms,wye0220/shindig-canvas,arrivu/arrivu-lms,arrivu/hiring-site,jay3126/canvas-lms,snehakachroo1/LSI_replica,loganrun/pincan,Jyaasa/canvas-lms,Unow/ins,narigone/canvas,arrivu/hiring-site,grahamb/canvas-lms,wrdsb/canvas-lms,skmezanul/canvas-lms,arrivu/hiring-site,grahamb/canvas-lms,HotChalk/canvas-lms,AndranikMarkosyan/lms,fronteerio/canvas-lms,skmezanul/canvas-lms,dgynn/canvas-lms,va7map/canvas-lms,skmezanul/canvas-lms,sdeleon28/canvas-lms,utkarshx/canvas-lms,djbender/canvas-lms,samuels410/greatlakes-lms,dgynn/canvas-lms,Unow/canvas-lms,antoniuslin/canvas-lms,loganrun/pincan,arrivu/qibla-ecampus,Rvor/canvas-lms,venturehive/canvas-lms,Rvor/canvas-lms,em2/canvas-lms,rup/Tarrax,ShreniiNepal/shrenii_lmp,greyhwndz/canvas-lms,gbleydon/canvas-lms,sfu/canvas-lms,antoniuslin/canvas-lms,sli7246/canvas_branch,instructure/canvas-lms,landonwilkins/canvas-lms,matematikk-mooc/canvas-lms,Unow/ins,rup/Tarrax,eCNAP/CANVAS,wimemx/Canvas,efrj/canvas-lms,roxolan/canvas-lms,Jyaasa/canvas-lms,juoni/canvas-lms,djbender/canvas-lms,narigone/canvas