Simplify code and convert if to ternary operators
Simplify code and convert if to ternary operators

mkanoor/manageiq,yaacov/manageiq,yaacov/manageiq,romanblanco/manageiq,aufi/manageiq,tinaafitz/manageiq,NaNi-Z/manageiq,aufi/manageiq,israel-hdez/manageiq,hstastna/manageiq,durandom/manageiq,ilackarms/manageiq,ailisp/manageiq,borod108/manageiq,syncrou/manageiq,branic/manageiq,djberg96/manageiq,billfitzgerald0120/manageiq,yaacov/manageiq,NickLaMuro/manageiq,juliancheal/manageiq,mfeifer/manageiq,agrare/manageiq,lpichler/manageiq,NaNi-Z/manageiq,pkomanek/manageiq,andyvesel/manageiq,tinaafitz/manageiq,fbladilo/manageiq,durandom/manageiq,lpichler/manageiq,ManageIQ/manageiq,hstastna/manageiq,fbladilo/manageiq,pkomanek/manageiq,d-m-u/manageiq,mfeifer/manageiq,NaNi-Z/manageiq,jntullo/manageiq,mzazrivec/manageiq,hstastna/manageiq,josejulio/manageiq,israel-hdez/manageiq,chessbyte/manageiq,ilackarms/manageiq,jvlcek/manageiq,juliancheal/manageiq,mfeifer/manageiq,syncrou/manageiq,jntullo/manageiq,branic/manageiq,tzumainn/manageiq,romanblanco/manageiq,mzazrivec/manageiq,tzumainn/manageiq,fbladilo/manageiq,aufi/manageiq,durandom/manageiq,skateman/manageiq,d-m-u/manageiq,ilackarms/manageiq,mkanoor/manageiq,jrafanie/manageiq,djberg96/manageiq,NickLaMuro/manageiq,ilackarms/manageiq,jameswnl/manageiq,matobet/manageiq,djberg96/manageiq,yaacov/manageiq,gmcculloug/manageiq,syncrou/manageiq,d-m-u/manageiq,syncrou/manageiq,josejulio/manageiq,juliancheal/manageiq,NickLaMuro/manageiq,mfeifer/manageiq,ManageIQ/manageiq,tzumainn/manageiq,jrafanie/manageiq,fbladilo/manageiq,branic/manageiq,mresti/manageiq,josejulio/manageiq,billfitzgerald0120/manageiq,mkanoor/manageiq,chessbyte/manageiq,jrafanie/manageiq,gerikis/manageiq,israel-hdez/manageiq,jameswnl/manageiq,durandom/manageiq,NaNi-Z/manageiq,gmcculloug/manageiq,tinaafitz/manageiq,ailisp/manageiq,skateman/manageiq,tzumainn/manageiq,romanblanco/manageiq,gerikis/manageiq,borod108/manageiq,mresti/manageiq,matobet/manageiq,jrafanie/manageiq,lpichler/manageiq,jvlcek/manageiq,billfitzgerald0120/manageiq,borod108/manageiq,ManageIQ/manageiq,andyvesel/manageiq,mzazrivec/manageiq,borod108/manageiq,matobet/manageiq,jntullo/manageiq,mzazrivec/manageiq,hstastna/manageiq,jntullo/manageiq,mresti/manageiq,lpichler/manageiq,kbrock/manageiq,jvlcek/manageiq,pkomanek/manageiq,gmcculloug/manageiq,kbrock/manageiq,billfitzgerald0120/manageiq,juliancheal/manageiq,josejulio/manageiq,gerikis/manageiq,tinaafitz/manageiq,mresti/manageiq,agrare/manageiq,jameswnl/manageiq,kbrock/manageiq,NickLaMuro/manageiq,mkanoor/manageiq,d-m-u/manageiq,andyvesel/manageiq,aufi/manageiq,chessbyte/manageiq,ailisp/manageiq,chessbyte/manageiq,kbrock/manageiq,ailisp/manageiq,gerikis/manageiq,ManageIQ/manageiq,agrare/manageiq,gmcculloug/manageiq,skateman/manageiq,jvlcek/manageiq,branic/manageiq,jameswnl/manageiq,matobet/manageiq,romanblanco/manageiq,skateman/manageiq,israel-hdez/manageiq,agrare/manageiq,djberg96/manageiq,pkomanek/manageiq,andyvesel/manageiq