Fix error with reopened merge request not properly reloading
Fix error with reopened merge request not properly reloading

If you reopen a Merge Request and then try to update the source branch
it won't properly reload the code since the "reload_code" method still
checks if the MR is "opened" and not just "open" (which includes reopened)

kemenaran/gitlabhq,copystudy/gitlabhq,NARKOZ/gitlabhq,OlegGirko/gitlab-ce,tk23/gitlabhq,windymid/test2,childbamboo/gitlabhq,hzy001/gitlabhq,bigsurge/gitlabhq,ksoichiro/gitlabhq,aaronsnyder/gitlabhq,axilleas/gitlabhq,yama07/gitlabhq,hq804116393/gitlabhq,t-zuehlsdorff/gitlabhq,zBMNForks/gitlabhq,yonglehou/gitlabhq,jrjang/gitlabhq,zrbsprite/gitlabhq,hacsoc/gitlabhq,wangcan2014/gitlabhq,dwrensha/gitlabhq,ordiychen/gitlabhq,nguyen-tien-mulodo/gitlabhq,NuLL3rr0r/gitlabhq,copystudy/gitlabhq,mrb/gitlabhq,theodi/gitlabhq,rfeese/gitlab-ce,LUMC/gitlabhq,allistera/gitlabhq,stoplightio/gitlabhq,screenpages/gitlabhq,sekcheong/gitlabhq,screenpages/gitlabhq,jirutka/gitlabhq,folpindo/gitlabhq,k4zzk/gitlabhq,initiummedia/gitlabhq,vjustov/gitlabhq,Razer6/gitlabhq,bbodenmiller/gitlabhq,fearenales/gitlabhq,darkrasid/gitlabhq,Devin001/gitlabhq,ordiychen/gitlabhq,ikappas/gitlabhq,dreampet/gitlab,salipro4ever/gitlabhq,cinderblock/gitlabhq,mrb/gitlabhq,ordiychen/gitlabhq,mr-dxdy/gitlabhq,joalmeid/gitlabhq,since2014/gitlabhq,daiyu/gitlab-zh,aaronsnyder/gitlabhq,Kambda/Mobbr,it33/gitlabhq,mavimo/gitlabhq,mmkassem/gitlabhq,windymid/test2,dreampet/gitlab,Exeia/gitlabhq,sekcheong/gitlabhq,pjknkda/gitlabhq,luzhongyang/gitlabhq,johnmyqin/gitlabhq,michaKFromParis/sparkslab,yatish27/gitlabhq,youprofit/gitlabhq,DanielZhangQingLong/gitlabhq,hzy001/gitlabhq,OlegGirko/gitlab-ce,sonalkr132/gitlabhq,folpindo/gitlabhq,martinma4/gitlabhq,htve/GitlabForChinese,shinexiao/gitlabhq,gorgee/gitlabhq,OtkurBiz/gitlabhq,lvfeng1130/gitlabhq,johnmyqin/gitlabhq,nmav/gitlabhq,OtkurBiz/gitlabhq,ferdinandrosario/gitlabhq,Kambda/Mobbr,hzy001/gitlabhq,Burick/gitlabhq,k4zzk/gitlabhq,ayufan/gitlabhq,WSDC-NITWarangal/gitlabhq,duduribeiro/gitlabhq,dvrylc/gitlabhq,luzhongyang/gitlabhq,Kambda/mobbr-gitlabhq,xuvw/gitlabhq,akumetsuv/gitlab,123Haynes/gitlabhq,since2014/gitlabhq,theodi/gitlabhq,jrjang/gitlab-ce,mathstuf/gitlabhq,pulkit21/gitlabhq,williamherry/gitlabhq,wangcan2014/gitlabhq,vjustov/gitlabhq,H3Chief/gitlabhq,youprofit/gitlabhq,jaepyoung/gitlabhq,bladealslayer/gitlabhq,dukex/gitlabhq,ikappas/gitlabhq,icedwater/gitlabhq,tempbottle/gitlabhq,chadyred/gitlabhq,pkallberg/tjenare,jirutka/gitlabhq,yama07/gitlabhq,phinfonet/mobbr-gitlabhq,nmav/gitlabhq,michaKFromParis/gitlabhqold,icedwater/gitlabhq,yfaizal/gitlabhq,sonalkr132/gitlabhq,LytayTOUCH/gitlabhq,initiummedia/gitlabhq,flashbuckets/gitlabhq,kotaro-dev/gitlab-6-9,rfeese/gitlab-ce,Datacom/gitlabhq,jvanbaarsen/gitlabhq,mr-dxdy/gitlabhq,cncodog/gitlab,manfer/gitlabhq,dplarson/gitlabhq,8thcolor/testing-public-gitlabhq,whluwit/gitlabhq,childbamboo/gitlabhq,since2014/gitlabhq,Kambda/mobbr-gitlabhq,MauriceMohlek/gitlabhq,OtkurBiz/gitlabhq,julianengel/gitlabhq,ibiart/gitlabhq,jvanbaarsen/gitlabhq,aaronsnyder/gitlabhq,ikappas/gitlabhq,Telekom-PD/gitlabhq,SVArago/gitlabhq,allistera/gitlabhq,Keystion/gitlabhq,ferdinandrosario/gitlabhq,yulchitaj/TEST3,bigsurge/gitlabhq,chadyred/gitlabhq,axilleas/gitlabhq,szechyjs/gitlabhq,NKMR6194/gitlabhq,rumpelsepp/gitlabhq,DanielZhangQingLong/gitlabhq,NKMR6194/gitlabhq,jirutka/gitlabhq,LUMC/gitlabhq,bladealslayer/gitlabhq,tim-hoff/gitlabhq,Devin001/gitlabhq,icedwater/gitlabhq,jrjang/gitlab-ce,kemenaran/gitlabhq,ksoichiro/gitlabhq,yatish27/gitlabhq,tk23/gitlabhq,bbodenmiller/gitlabhq,windymid/test2,mrb/gitlabhq,dukex/gitlabhq,openwide-java/gitlabhq,sideci-sample/sideci-sample-gitlabhq,rumpelsepp/gitlabhq,123Haynes/gitlabhq,SkyWei/gitlabhq,ZeoAlliance/gitlabhq,sue445/gitlabhq,iiet/iiet-git,mathstuf/gitlabhq,yulchitaj/TEST3,chenrui2014/gitlabhq,fantasywind/gitlabhq,jrjang/gitlabhq,delkyd/gitlabhq,manfer/gitlabhq,fearenales/gitlabhq,MauriceMohlek/gitlabhq,SkyWei/gitlabhq,gopeter/gitlabhq,allysonbarros/gitlabhq,axilleas/gitlabhq,MauriceMohlek/gitlabhq,louahola/gitlabhq,whluwit/gitlabhq,dplarson/gitlabhq,tempbottle/gitlabhq,pulkit21/gitlabhq,revaret/gitlabhq,ordiychen/gitlabhq,pulkit21/gitlabhq,darkrasid/gitlabhq,martinma4/gitlabhq,TheWatcher/gitlabhq,ngpestelos/gitlabhq,revaret/gitlabhq,fendoudeqingchunhh/gitlabhq,louahola/gitlabhq,jrjang/gitlab-ce,phinfonet/mobbr-gitlabhq,screenpages/gitlabhq,SkyWei/gitlabhq,TheWatcher/gitlabhq,Devin001/gitlabhq,sue445/gitlabhq,liyakun/gitlabhq,adaiguoguo/gitlab_globalserarch,zBMNForks/gitlabhq,tk23/gitlabhq,mente/gitlabhq,duduribeiro/gitlabhq,yuyue2013/ss,dplarson/gitlabhq,sonalkr132/gitlabhq,LUMC/gitlabhq,kotaro-dev/gitlab-6-9,NARKOZ/gitlabhq,Tyrael/gitlabhq,jirutka/gitlabhq,WSDC-NITWarangal/gitlabhq,eliasp/gitlabhq,aaronsnyder/gitlabhq,folpindo/gitlabhq,fpgentil/gitlabhq,mr-dxdy/gitlabhq,cui-liqiang/gitlab-ce,shinexiao/gitlabhq,larryli/gitlabhq,yfaizal/gitlabhq,folpindo/gitlabhq,michaKFromParis/gitlabhq,8thcolor/testing-public-gitlabhq,larryli/gitlabhq,atomaka/gitlabhq,ibiart/gitlabhq,bozaro/gitlabhq,mr-dxdy/gitlabhq,WSDC-NITWarangal/gitlabhq,fantasywind/gitlabhq,stanhu/gitlabhq,michaKFromParis/gitlabhq,sideci-sample/sideci-sample-gitlabhq,sakishum/gitlabhq,michaKFromParis/sparkslab,daiyu/gitlab-zh,sakishum/gitlabhq,eliasp/gitlabhq,dreampet/gitlab,theonlydoo/gitlabhq,htve/GitlabForChinese,darkrasid/gitlabhq,mavimo/gitlabhq,mavimo/gitlabhq,H3Chief/gitlabhq,fgbreel/gitlabhq,pjknkda/gitlabhq,martijnvermaat/gitlabhq,WSDC-NITWarangal/gitlabhq,gorgee/gitlabhq,ngpestelos/gitlabhq,sekcheong/gitlabhq,cui-liqiang/gitlab-ce,salipro4ever/gitlabhq,michaKFromParis/sparkslab,yuyue2013/ss,eliasp/gitlabhq,kemenaran/gitlabhq,pjknkda/gitlabhq,chadyred/gitlabhq,8thcolor/testing-public-gitlabhq,joalmeid/gitlabhq,dvrylc/gitlabhq,Devin001/gitlabhq,tempbottle/gitlabhq,Kambda/Mobbr,nguyen-tien-mulodo/gitlabhq,rfeese/gitlab-ce,yonglehou/gitlabhq,williamherry/gitlabhq,sue445/gitlabhq,NKMR6194/gitlabhq,liyakun/gitlabhq,fpgentil/gitlabhq,yuyue2013/ss,kitech/gitlabhq,flashbuckets/gitlabhq,williamherry/gitlabhq,gorgee/gitlabhq,jvanbaarsen/gitlabhq,mente/gitlabhq,TheWatcher/gitlabhq,DanielZhangQingLong/gitlabhq,sakishum/gitlabhq,michaKFromParis/gitlabhqold,Soullivaneuh/gitlabhq,nguyen-tien-mulodo/gitlabhq,dplarson/gitlabhq,rhels/gitlabhq,bozaro/gitlabhq,icedwater/gitlabhq,kitech/gitlabhq,Datacom/gitlabhq,stanhu/gitlabhq,Keystion/gitlabhq,rebecamendez/gitlabhq,hq804116393/gitlabhq,bladealslayer/gitlabhq,zBMNForks/gitlabhq,Telekom-PD/gitlabhq,koreamic/gitlabhq,jaepyoung/gitlabhq,delkyd/gitlabhq,cinderblock/gitlabhq,duduribeiro/gitlabhq,kitech/gitlabhq,fgbreel/gitlabhq,sue445/gitlabhq,Burick/gitlabhq,duduribeiro/gitlabhq,hacsoc/gitlabhq,ksoichiro/gitlabhq,nmav/gitlabhq,martijnvermaat/gitlabhq,ngpestelos/gitlabhq,zrbsprite/gitlabhq,yulchitaj/TEST3,rumpelsepp/gitlabhq,ikappas/gitlabhq,sideci-sample/sideci-sample-gitlabhq,cncodog/gitlab,copystudy/gitlabhq,allysonbarros/gitlabhq,Tyrael/gitlabhq,iiet/iiet-git,lvfeng1130/gitlabhq,LytayTOUCH/gitlabhq,since2014/gitlabhq,it33/gitlabhq,yama07/gitlabhq,julianengel/gitlabhq,Telekom-PD/gitlabhq,yatish27/gitlabhq,Razer6/gitlabhq,martijnvermaat/gitlabhq,cui-liqiang/gitlab-ce,theodi/gitlabhq,Exeia/gitlabhq,iiet/iiet-git,mmkassem/gitlabhq,revaret/gitlabhq,julianengel/gitlabhq,jrjang/gitlab-ce,it33/gitlabhq,yonglehou/gitlabhq,hacsoc/gitlabhq,zrbsprite/gitlabhq,revaret/gitlabhq,ayufan/gitlabhq,ksoichiro/gitlabhq,gopeter/gitlabhq,tim-hoff/gitlabhq,NARKOZ/gitlabhq,k4zzk/gitlabhq,hzy001/gitlabhq,fscherwi/gitlabhq,NuLL3rr0r/gitlabhq,yulchitaj/TEST3,daiyu/gitlab-zh,initiummedia/gitlabhq,yatish27/gitlabhq,htve/GitlabForChinese,LUMC/gitlabhq,rebecamendez/gitlabhq,yuyue2013/ss,NuLL3rr0r/gitlabhq,bigsurge/gitlabhq,fpgentil/gitlabhq,allistera/gitlabhq,chenrui2014/gitlabhq,theonlydoo/gitlabhq,shinexiao/gitlabhq,szechyjs/gitlabhq,stoplightio/gitlabhq,ferdinandrosario/gitlabhq,cinderblock/gitlabhq,stoplightio/gitlabhq,htve/GitlabForChinese,eliasp/gitlabhq,dwrensha/gitlabhq,youprofit/gitlabhq,fearenales/gitlabhq,initiummedia/gitlabhq,chenrui2014/gitlabhq,pkgr/gitlabhq,rfeese/gitlab-ce,OlegGirko/gitlab-ce,ayufan/gitlabhq,delkyd/gitlabhq,akumetsuv/gitlab,tim-hoff/gitlabhq,wangcan2014/gitlabhq,SVArago/gitlabhq,flashbuckets/gitlabhq,martinma4/gitlabhq,bozaro/gitlabhq,DanielZhangQingLong/gitlabhq,cui-liqiang/gitlab-ce,liyakun/gitlabhq,jaepyoung/gitlabhq,julianengel/gitlabhq,lvfeng1130/gitlabhq,t-zuehlsdorff/gitlabhq,adaiguoguo/gitlab_globalserarch,Tyrael/gitlabhq,pkallberg/tjenare,dvrylc/gitlabhq,t-zuehlsdorff/gitlabhq,adaiguoguo/gitlab_globalserarch,joalmeid/gitlabhq,childbamboo/gitlabhq,rebecamendez/gitlabhq,cinderblock/gitlabhq,fgbreel/gitlabhq,jrjang/gitlabhq,bbodenmiller/gitlabhq,Burick/gitlabhq,fantasywind/gitlabhq,hq804116393/gitlabhq,hacsoc/gitlabhq,Keystion/gitlabhq,SVArago/gitlabhq,akumetsuv/gitlab,fpgentil/gitlabhq,szechyjs/gitlabhq,Razer6/gitlabhq,Tyrael/gitlabhq,dwrensha/gitlabhq,michaKFromParis/gitlabhq,pkgr/gitlabhq,openwide-java/gitlabhq,rhels/gitlabhq,tk23/gitlabhq,ibiart/gitlabhq,louahola/gitlabhq,luzhongyang/gitlabhq,screenpages/gitlabhq,SVArago/gitlabhq,daiyu/gitlab-zh,dukex/gitlabhq,mente/gitlabhq,fearenales/gitlabhq,williamherry/gitlabhq,flashbuckets/gitlabhq,darkrasid/gitlabhq,rhels/gitlabhq,allysonbarros/gitlabhq,stellamiranda/mobbr-gitlabhq,delkyd/gitlabhq,cncodog/gitlab,martijnvermaat/gitlabhq,iiet/iiet-git,mavimo/gitlabhq,dwrensha/gitlabhq,stoplightio/gitlabhq,theodi/gitlabhq,michaKFromParis/gitlabhq,Exeia/gitlabhq,ttasanen/gitlabhq,martinma4/gitlabhq,zrbsprite/gitlabhq,openwide-java/gitlabhq,manfer/gitlabhq,H3Chief/gitlabhq,michaKFromParis/gitlabhqold,stellamiranda/mobbr-gitlabhq,salipro4ever/gitlabhq,larryli/gitlabhq,sonalkr132/gitlabhq,Datacom/gitlabhq,fantasywind/gitlabhq,sakishum/gitlabhq,luzhongyang/gitlabhq,jvanbaarsen/gitlabhq,Telekom-PD/gitlabhq,bigsurge/gitlabhq,Soullivaneuh/gitlabhq,tim-hoff/gitlabhq,manfer/gitlabhq,shinexiao/gitlabhq,Keystion/gitlabhq,SkyWei/gitlabhq,vjustov/gitlabhq,mathstuf/gitlabhq,mrb/gitlabhq,yonglehou/gitlabhq,per-garden/gitlabhq,ttasanen/gitlabhq,123Haynes/gitlabhq,nguyen-tien-mulodo/gitlabhq,H3Chief/gitlabhq,kotaro-dev/gitlab-6-9,koreamic/gitlabhq,fgbreel/gitlabhq,axilleas/gitlabhq,yama07/gitlabhq,youprofit/gitlabhq,koreamic/gitlabhq,chadyred/gitlabhq,gorgee/gitlabhq,ttasanen/gitlabhq,OtkurBiz/gitlabhq,larryli/gitlabhq,phinfonet/mobbr-gitlabhq,fendoudeqingchunhh/gitlabhq,t-zuehlsdorff/gitlabhq,johnmyqin/gitlabhq,TheWatcher/gitlabhq,fendoudeqingchunhh/gitlabhq,Datacom/gitlabhq,atomaka/gitlabhq,mente/gitlabhq,gopeter/gitlabhq,mmkassem/gitlabhq,NARKOZ/gitlabhq,mmkassem/gitlabhq,tempbottle/gitlabhq,zBMNForks/gitlabhq,Soullivaneuh/gitlabhq,it33/gitlabhq,pkgr/gitlabhq,ngpestelos/gitlabhq,Exeia/gitlabhq,allistera/gitlabhq,michaKFromParis/gitlabhqold,per-garden/gitlabhq,sekcheong/gitlabhq,ZeoAlliance/gitlabhq,chenrui2014/gitlabhq,rhels/gitlabhq,theonlydoo/gitlabhq,yfaizal/gitlabhq,fscherwi/gitlabhq,dvrylc/gitlabhq,MauriceMohlek/gitlabhq,vjustov/gitlabhq,michaKFromParis/sparkslab,ferdinandrosario/gitlabhq,liyakun/gitlabhq,per-garden/gitlabhq,yfaizal/gitlabhq,ayufan/gitlabhq,rumpelsepp/gitlabhq,szechyjs/gitlabhq,bbodenmiller/gitlabhq,per-garden/gitlabhq,stanhu/gitlabhq,kemenaran/gitlabhq,fendoudeqingchunhh/gitlabhq,dreampet/gitlab,Burick/gitlabhq,Kambda/mobbr-gitlabhq,stellamiranda/mobbr-gitlabhq,wangcan2014/gitlabhq,hq804116393/gitlabhq,mathstuf/gitlabhq,k4zzk/gitlabhq,koreamic/gitlabhq,childbamboo/gitlabhq,atomaka/gitlabhq,openwide-java/gitlabhq,gopeter/gitlabhq,OlegGirko/gitlab-ce,Razer6/gitlabhq,louahola/gitlabhq,pjknkda/gitlabhq,lvfeng1130/gitlabhq,pulkit21/gitlabhq,whluwit/gitlabhq,jaepyoung/gitlabhq,cncodog/gitlab,jrjang/gitlabhq,xuvw/gitlabhq,joalmeid/gitlabhq,LytayTOUCH/gitlabhq,fscherwi/gitlabhq,stanhu/gitlabhq,johnmyqin/gitlabhq,Soullivaneuh/gitlabhq,bozaro/gitlabhq,xuvw/gitlabhq,kitech/gitlabhq,fscherwi/gitlabhq,LytayTOUCH/gitlabhq,dukex/gitlabhq,allysonbarros/gitlabhq,theonlydoo/gitlabhq,pkallberg/tjenare,copystudy/gitlabhq,rebecamendez/gitlabhq,ZeoAlliance/gitlabhq,NKMR6194/gitlabhq,adaiguoguo/gitlab_globalserarch,whluwit/gitlabhq,salipro4ever/gitlabhq,nmav/gitlabhq,ttasanen/gitlabhq