Fix edge case when running refinery task
Fix edge case when running refinery task

gwagener/refinerycms,stefanspicer/refinerycms,chrise86/refinerycms,koa/refinerycms,anitagraham/refinerycms,hoopla-software/refinerycms,kelkoo-services/refinerycms,sideci-sample/sideci-sample-refinerycms,louim/refinerycms,chrise86/refinerycms,johanb/refinerycms,bryanmtl/g-refinerycms,aguzubiaga/refinerycms,KingLemuel/refinerycms,mojarra/myrefinerycms,trevornez/refinerycms,donabrams/refinerycms,aguzubiaga/refinerycms,KingLemuel/refinerycms,johanb/refinerycms,mabras/refinerycms,hoopla-software/refinerycms,LytayTOUCH/refinerycms,mkaplan9/refinerycms,refinery/refinerycms,kappiah/refinerycms,mojarra/myrefinerycms,trevornez/refinerycms,refinery/refinerycms,mabras/refinerycms,simi/refinerycms,simi/refinerycms,mobilityhouse/refinerycms,mkaplan9/refinerycms,LytayTOUCH/refinerycms,kappiah/refinerycms,bryanmtl/g-refinerycms,stakes/refinerycms,trevornez/refinerycms,anitagraham/refinerycms,mabras/refinerycms,louim/refinerycms,donabrams/refinerycms,kelkoo-services/refinerycms,mlinfoot/refinerycms,aguzubiaga/refinerycms,LytayTOUCH/refinerycms,mobilityhouse/refinerycms,gwagener/refinerycms,sideci-sample/sideci-sample-refinerycms,Eric-Guo/refinerycms,bricesanchez/refinerycms,simi/refinerycms,refinery/refinerycms,mlinfoot/refinerycms,chrise86/refinerycms,SmartMedia/refinerycms-with-custom-icons,clanplaid/wow.clanplaid.net,Eric-Guo/refinerycms,Retimont/refinerycms,Eric-Guo/refinerycms,stefanspicer/refinerycms,bricesanchez/refinerycms,mkaplan9/refinerycms,koa/refinerycms,stefanspicer/refinerycms,pcantrell/refinerycms,clanplaid/wow.clanplaid.net,hoopla-software/refinerycms,stakes/refinerycms,mlinfoot/refinerycms,pcantrell/refinerycms,johanb/refinerycms,KingLemuel/refinerycms,Retimont/refinerycms,SmartMedia/refinerycms-with-custom-icons,simi/refinerycms,Retimont/refinerycms,anitagraham/refinerycms,gwagener/refinerycms,kappiah/refinerycms