Moved exists condition in Repository#before_delete
Moved exists condition in Repository#before_delete

This is only needed when calling the "expire_cache" method as the other
expiration methods don't depend on Git data.

ttasanen/gitlabhq,jirutka/gitlabhq,allysonbarros/gitlabhq,axilleas/gitlabhq,axilleas/gitlabhq,LUMC/gitlabhq,mmkassem/gitlabhq,t-zuehlsdorff/gitlabhq,dplarson/gitlabhq,stoplightio/gitlabhq,darkrasid/gitlabhq,mmkassem/gitlabhq,allysonbarros/gitlabhq,ttasanen/gitlabhq,screenpages/gitlabhq,dwrensha/gitlabhq,larryli/gitlabhq,SVArago/gitlabhq,allysonbarros/gitlabhq,mmkassem/gitlabhq,LUMC/gitlabhq,martijnvermaat/gitlabhq,LUMC/gitlabhq,jirutka/gitlabhq,openwide-java/gitlabhq,htve/GitlabForChinese,martijnvermaat/gitlabhq,Soullivaneuh/gitlabhq,allysonbarros/gitlabhq,darkrasid/gitlabhq,iiet/iiet-git,daiyu/gitlab-zh,iiet/iiet-git,t-zuehlsdorff/gitlabhq,martijnvermaat/gitlabhq,htve/GitlabForChinese,larryli/gitlabhq,darkrasid/gitlabhq,SVArago/gitlabhq,mr-dxdy/gitlabhq,Soullivaneuh/gitlabhq,shinexiao/gitlabhq,SVArago/gitlabhq,daiyu/gitlab-zh,dwrensha/gitlabhq,dreampet/gitlab,larryli/gitlabhq,mr-dxdy/gitlabhq,SVArago/gitlabhq,dplarson/gitlabhq,axilleas/gitlabhq,openwide-java/gitlabhq,daiyu/gitlab-zh,dwrensha/gitlabhq,stoplightio/gitlabhq,shinexiao/gitlabhq,htve/GitlabForChinese,screenpages/gitlabhq,stoplightio/gitlabhq,dplarson/gitlabhq,icedwater/gitlabhq,dreampet/gitlab,mr-dxdy/gitlabhq,icedwater/gitlabhq,iiet/iiet-git,mr-dxdy/gitlabhq,t-zuehlsdorff/gitlabhq,htve/GitlabForChinese,icedwater/gitlabhq,iiet/iiet-git,larryli/gitlabhq,LUMC/gitlabhq,screenpages/gitlabhq,shinexiao/gitlabhq,icedwater/gitlabhq,axilleas/gitlabhq,openwide-java/gitlabhq,t-zuehlsdorff/gitlabhq,martijnvermaat/gitlabhq,jirutka/gitlabhq,jirutka/gitlabhq,dreampet/gitlab,dwrensha/gitlabhq,Soullivaneuh/gitlabhq,ttasanen/gitlabhq,ttasanen/gitlabhq,shinexiao/gitlabhq,mmkassem/gitlabhq,screenpages/gitlabhq,openwide-java/gitlabhq,darkrasid/gitlabhq,daiyu/gitlab-zh,dplarson/gitlabhq,Soullivaneuh/gitlabhq,stoplightio/gitlabhq,dreampet/gitlab