Fix #819 by fetching the repository from db before updating
Fix #819 by fetching the repository from db before updating

psolyca/gitea,xormplus/gitea,JonasFranzDEV/gitea,eddiesigner/gogs,dlob/gogs,faddat/gogs,dl5rcw/gitea,minecrafter/gitea,jorgesumle/gitea,wqweto/gogs,yonglehou/gogs,helojo/gogs,kjellkvinge/gitea,mapmeld/codemingler,yonglehou/gogs,linquize/gitea,armersong/gogs,bkcsoft/gogs,dnmgns/gitea,mukaiu/gogs,fabric8io/gogs,gwynantj/gogs,voxxit/gogs,Immortalin/gogs,spacetourist/gitea,vCaesar/gitea,Em-AK/gogs,go-gitea/gitea,yaggytter/gogs,linquize/gogs,wangjild/gogs,yaggytter/gogs,sooboy/gogs,hzy001/gogs,lafriks/gitea,Janfred/gogs,richmahn/gogs,Spice-King/gogs,geerlingguy/gogs,uileyar/gogs,jacobxk/gogs,opavader/gogs,mpindado/gogs,xaionaro/gogs,cloudron-io/gogs,nounoursheureux/gitea,DblK/gitea,sillydong/gogs,nounoursheureux/gitea,Janfred/gogs,SlavikZ/gogs,fabric8io/gogs,pecastro/gogs,peterhadlaw/gogs,GodOfConquest/gogs,andreynering/gitea,kubatyszko/gitea,jacobxk/gogs,tboerger/gitea,dnmgns/gitea,ForxaCoLab/forxa,dlob/gogs,codeskyblue/gogs,agaurav/gogs,kolonse/gogs,admik/gitea,avelino/gitea,linquize/gitea,wqweto/gogs,bkcsoft/gogs,huyueMiss/gogs,mapmeld/codemingler,sapk-fork/gitea,everhopingandwaiting/gogs,tony/gogs,gwynantj/gogs,cloudron-io/gogs,lucienevans/gogs,kubatyszko/gitea,dentmaged/gogs,mark77z/tt2016,denji/gitea_tmp,DebansNetwork/gogs,fabric8io/gogs,pecastro/gogs,svcavallar/gogs,svcavallar/gogs,xet7/gogs,hiproz/gogs,kseistrup/gogs,puffybsd/gitea,dancewing/gogs,ethantkoenig/gogs,pikacloud/pikacode,svcavallar/gogs,mukaiu/gogs,yonglehou/gogs,go-gitea/gitea,manfer/gitea,xaionaro/gogs,ethantkoenig/gitea,huyueMiss/gogs,linquize/gitea,haoyixin/gogs,denji/gitea_tmp,chriswatt/gogs,xiaoyanit/gogs,eddiesigner/gogs,SlavikZ/gogs,jvanderneutstulen/gogs,cgars/gogs,pentix/gogs,wangjild/gogs,tszym/gogs,treejames/gogs,Janfred/gogs,0x0all/gogs,uileyar/gogs,ForxaCoLab/forxa,cumgun/gitea,andreynering/gitea,noikiy/gogs,beni55/gogs,dlob/gogs,kubatyszko/gitea,xaionaro/gogs,faddat/gogs,dentmaged/gogs,jacobxk/gogs,siadat/gogs,jvanderneutstulen/gogs,noikiy/gogs,noikiy/gogs,bygreencn/gogs,pentix/gogs,kevinc0825/gogs,lunny/gitea,pentix/gogs,gigforks/gogs,gogits/gogs,makhov/gitea,ForxaCoLab/forxa,bkcsoft/gogs,agaurav/gogs,Spice-King/gogs,avelino/gitea,gigforks/gogs,haoyixin/gogs,andrewrothstein/gogs,beni55/gogs,typeless/gitea,DebansNetwork/gogs,sapk/gogs,sillydong/gogs,kong36088/SCAUGogits,kseistrup/gogs,Spice-King/gogs,cngolang/gogs,pikacloud/pikacode,linquize/gogs,kevinc0825/gogs,Bwko/gitea,likeit92/gogs,haoyixin/gogs,typeless/gitea,pwelter34/gogs,odinuge/gogs,dentmaged/gogs,cem/gogs,tanapoln/gogs,AndreaGiardini/gogs,gemili/gogs,tanapoln/gogs,xet7/gogs,tboerger/gitea,strk/gogs,gwynantj/gogs,xet7/gogs,JonasFranzDEV/gitea,dancewing/gogs,dnmgns/gitea,golang-lib/gogs,mpindado/gogs,kiliit/gogs,odinuge/gogs,denji/gitea,pwelter34/gogs,huyueMiss/gogs,likeit92/gogs,tanapoln/gogs,vCaesar/gitea,w4ngyi/gogs,helojo/gogs,sapk-fork/gitea,mjwwit/gitea,everhopingandwaiting/gogs,jqs7/gogs,treejames/gogs,denji/gitea_tmp,opavader/gogs,willemvd/gitea,liliexuan/gogs,avelino/gitea,jqs7/gogs,mark77z/tt2016,odinuge/gogs,SlavikZ/gogs,0rax/gogs,go-gitea/gitea,GodOfConquest/gogs,peterhadlaw/gogs,helojo/gogs,cgars/gogs,xiaoyanit/gogs,AnuchitPrasertsang/gogs,strk/gogs,geerlingguy/gogs,cez81/gitea,jvanderneutstulen/gogs,cgars/gogs,pwelter34/gogs,Bwko/gitea,cumgun/gitea,geerlingguy/gogs,peterhadlaw/gogs,Immortalin/gogs,tempbottle/gogs,gemili/gogs,tony/gogs,CaeruleusAqua/gitea,strk/gogs,armersong/gogs,codeskyblue/gogs,lunny/gitea,DblK/gitea,eddiesigner/gogs,voxxit/gogs,siadat/gogs,0rax/gogs,cybe/gitea,andrewrothstein/gogs,andrewrothstein/gogs,kolonse/gogs,beni55/gogs,tszym/gogs,sapk-fork/gitea,manfer/gogs,dancewing/gogs,denghongcai/gogs,kong36088/SCAUGogits,kseistrup/gogs,agaurav/gogs,linquize/gogs,wqweto/gogs,pecastro/gogs,denji/gitea_tmp,kong36088/SCAUGogits,mark77z/tt2016,metadevfoundation/gogs,Ralph-Wang/gogs,opavader/gogs,GodOfConquest/gogs,0x0all/gogs,psolyca/gitea,hiproz/gogs,kevinc0825/gogs,golang-lib/gogs,xiaoyanit/gogs,chriswatt/gogs,0x0all/gogs,rems4e/gitea,gigforks/gogs,sapk-fork/gitea,CaeruleusAqua/gitea,cez81/gitea,voxxit/gogs,manfer/gitea,tempbottle/gogs,imjerrybao/gogs,mpindado/gogs,psaavedra/gogs,geek1011/gitea,vdbt/gitea,nounoursheureux/gitea,lafriks/gitea,gigforks/gogs,bygreencn/gogs,kloudsio/gogs,chriswatt/gogs,Em-AK/gogs,kiliit/gogs,tony/gogs,kloudsio/gogs,gemili/gogs,ethantkoenig/gitea,Em-AK/gogs,cngolang/gogs,hzy001/gogs,cem/gogs,cem/gogs,typeless/gitea,lunny/gitea,sillydong/gogs,vdbt/gitea,tempbottle/gogs,hzy001/gogs,imjerrybao/gogs,bygreencn/gogs,lucienevans/gogs,treejames/gogs,cybe/gitea,jqs7/gogs,0rax/gogs,cloudron-io/gogs,pikacloud/pikacode,armersong/gogs,imjerrybao/gogs,w4ngyi/gogs,lucienevans/gogs,kjellkvinge/gitea,mjwwit/gitea,tpires/gogs,w4ngyi/gogs,codeskyblue/gogs,jorgesumle/gitea,kjellkvinge/gitea,wangjild/gogs,avelino/gitea,manfer/gogs,psaavedra/gogs,AndreaGiardini/gogs,kloudsio/gogs,sooboy/gogs,sapk/gogs,mukaiu/gogs,faddat/gogs,yaggytter/gogs,Morlinest/gitea,0rax/gogs,kiliit/gogs,richmahn/gogs,cez81/gitea,tpires/gogs,manfer/gitea,AnuchitPrasertsang/gogs,metadevfoundation/gogs,tpires/gogs,metadevfoundation/gogs,typeless/gitea,Bwko/gitea,hiproz/gogs,manfer/gogs,cngolang/gogs,Ralph-Wang/gogs,likeit92/gogs,denghongcai/gogs,ethantkoenig/gogs,everhopingandwaiting/gogs,dancewing/gogs,uileyar/gogs,AnuchitPrasertsang/gogs,everhopingandwaiting/gogs,tboerger/gitea,liliexuan/gogs,AndreaGiardini/gogs,rems4e/gitea,kolonse/gogs,golang-lib/gogs,tszym/gogs,Ralph-Wang/gogs,denghongcai/gogs,gogits/gogs,Morlinest/gitea,liliexuan/gogs,sapk/gogs,psaavedra/gogs,spacetourist/gitea,DebansNetwork/gogs,lafriks/gitea,mapmeld/codemingler,siadat/gogs,sooboy/gogs,geek1011/gitea,gogits/gogs,Immortalin/gogs