Check if etag exists before to do the gsub
Check if etag exists before to do the gsub

This fix the build http://travis-ci.org/#!/rails/rails/builds/2459981

vipulnsward/rails,utilum/rails,bolek/rails,Stellenticket/rails,palkan/rails,deraru/rails,yawboakye/rails,riseshia/railsguides.kr,schuetzm/rails,kachick/rails,mijoharas/rails,esparta/rails,utilum/rails,EmmaB/rails-1,prathamesh-sonpatki/rails,Vasfed/rails,illacceptanything/illacceptanything,illacceptanything/illacceptanything,gfvcastro/rails,kmcphillips/rails,shioyama/rails,repinel/rails,sergey-alekseev/rails,MSP-Greg/rails,gavingmiller/rails,lucasmazza/rails,yasslab/railsguides.jp,gauravtiwari/rails,rafaelfranca/omg-rails,bogdanvlviv/rails,Stellenticket/rails,rails/rails,baerjam/rails,palkan/rails,travisofthenorth/rails,yalab/rails,rossta/rails,illacceptanything/illacceptanything,flanger001/rails,felipecvo/rails,arunagw/rails,Envek/rails,sergey-alekseev/rails,MichaelSp/rails,notapatch/rails,fabianoleittes/rails,kmcphillips/rails,mechanicles/rails,alecspopa/rails,koic/rails,kaspth/rails,joonyou/rails,notapatch/rails,MSP-Greg/rails,flanger001/rails,pvalena/rails,gauravtiwari/rails,arunagw/rails,bradleypriest/rails,sealocal/rails,lcreid/rails,mtsmfm/rails,assain/rails,elfassy/rails,yawboakye/rails,illacceptanything/illacceptanything,tgxworld/rails,illacceptanything/illacceptanything,Edouard-chin/rails,arjes/rails,betesh/rails,notapatch/rails,arjes/rails,mtsmfm/railstest,kmayer/rails,joonyou/rails,alecspopa/rails,gcourtemanche/rails,Sen-Zhang/rails,Erol/rails,prathamesh-sonpatki/rails,yawboakye/rails,mechanicles/rails,vipulnsward/rails,ledestin/rails,mtsmfm/railstest,tgxworld/rails,pschambacher/rails,Edouard-chin/rails,georgeclaghorn/rails,kddeisz/rails,Erol/rails,esparta/rails,illacceptanything/illacceptanything,amoody2108/TechForJustice,kamipo/rails,yalab/rails,schuetzm/rails,prathamesh-sonpatki/rails,rossta/rails,samphilipd/rails,yalab/rails,MSP-Greg/rails,BlakeWilliams/rails,maicher/rails,rbhitchcock/rails,EmmaB/rails-1,88rabbit/newRails,illacceptanything/illacceptanything,deraru/rails,gcourtemanche/rails,printercu/rails,georgeclaghorn/rails,kmayer/rails,rails/rails,arunagw/rails,utilum/rails,rossta/rails,deraru/rails,pschambacher/rails,mtsmfm/rails,kirs/rails-1,yahonda/rails,kirs/rails-1,elfassy/rails,mtsmfm/rails,odedniv/rails,88rabbit/newRails,assain/rails,fabianoleittes/rails,BlakeWilliams/rails,vassilevsky/rails,koic/rails,matrinox/rails,yahonda/rails,ledestin/rails,Sen-Zhang/rails,illacceptanything/illacceptanything,pvalena/rails,shioyama/rails,mathieujobin/reduced-rails-for-travis,kachick/rails,eileencodes/rails,mohitnatoo/rails,hanystudy/rails,kenta-s/rails,88rabbit/newRails,georgeclaghorn/rails,betesh/rails,rafaelfranca/omg-rails,rbhitchcock/rails,illacceptanything/illacceptanything,xlymian/rails,stefanmb/rails,aditya-kapoor/rails,baerjam/rails,odedniv/rails,eileencodes/rails,arjes/rails,esparta/rails,Edouard-chin/rails,stefanmb/rails,mathieujobin/reduced-rails-for-travis,yasslab/railsguides.jp,schuetzm/rails,jeremy/rails,bradleypriest/rails,mijoharas/rails,MSP-Greg/rails,matrinox/rails,travisofthenorth/rails,maicher/rails,illacceptanything/illacceptanything,ttanimichi/rails,tgxworld/rails,marklocklear/rails,illacceptanything/illacceptanything,voray/rails,baerjam/rails,felipecvo/rails,kaspth/rails,marklocklear/rails,tjschuck/rails,untidy-hair/rails,printercu/rails,mijoharas/rails,lcreid/rails,bogdanvlviv/rails,kenta-s/rails,joonyou/rails,tijwelch/rails,Envek/rails,illacceptanything/illacceptanything,lcreid/rails,printercu/rails,xlymian/rails,utilum/rails,joonyou/rails,eileencodes/rails,Spin42/rails,palkan/rails,amoody2108/TechForJustice,bolek/rails,deraru/rails,yhirano55/rails,repinel/rails,yhirano55/rails,ttanimichi/rails,yahonda/rails,kaspth/rails,travisofthenorth/rails,coreyward/rails,coreyward/rails,kmayer/rails,riseshia/railsguides.kr,gavingmiller/rails,rafaelfranca/omg-rails,ngpestelos/rails,schuetzm/rails,travisofthenorth/rails,iainbeeston/rails,Spin42/rails,ledestin/rails,ngpestelos/rails,betesh/rails,lcreid/rails,yawboakye/rails,shioyama/rails,kenta-s/rails,baerjam/rails,brchristian/rails,yhirano55/rails,maicher/rails,MichaelSp/rails,kirs/rails-1,bradleypriest/rails,pschambacher/rails,starknx/rails,jeremy/rails,tijwelch/rails,mohitnatoo/rails,flanger001/rails,gauravtiwari/rails,rbhitchcock/rails,jeremy/rails,eileencodes/rails,tijwelch/rails,kamipo/rails,mohitnatoo/rails,bolek/rails,xlymian/rails,ttanimichi/rails,palkan/rails,voray/rails,mohitnatoo/rails,gavingmiller/rails,amoody2108/TechForJustice,bogdanvlviv/rails,tjschuck/rails,yalab/rails,ngpestelos/rails,MichaelSp/rails,Stellenticket/rails,sealocal/rails,gfvcastro/rails,vipulnsward/rails,untidy-hair/rails,tjschuck/rails,rails/rails,shioyama/rails,betesh/rails,riseshia/railsguides.kr,tjschuck/rails,georgeclaghorn/rails,aditya-kapoor/rails,kmcphillips/rails,bogdanvlviv/rails,vassilevsky/rails,kddeisz/rails,prathamesh-sonpatki/rails,Stellenticket/rails,Sen-Zhang/rails,rails/rails,kddeisz/rails,kamipo/rails,Vasfed/rails,gfvcastro/rails,elfassy/rails,matrinox/rails,untidy-hair/rails,yhirano55/rails,aditya-kapoor/rails,stefanmb/rails,gcourtemanche/rails,printercu/rails,EmmaB/rails-1,Envek/rails,yasslab/railsguides.jp,Erol/rails,vassilevsky/rails,hanystudy/rails,samphilipd/rails,yahonda/rails,vipulnsward/rails,illacceptanything/illacceptanything,lucasmazza/rails,koic/rails,brchristian/rails,felipecvo/rails,illacceptanything/illacceptanything,esparta/rails,tgxworld/rails,riseshia/railsguides.kr,sergey-alekseev/rails,arunagw/rails,pvalena/rails,odedniv/rails,assain/rails,hanystudy/rails,alecspopa/rails,notapatch/rails,Vasfed/rails,kddeisz/rails,mechanicles/rails,flanger001/rails,BlakeWilliams/rails,voray/rails,assain/rails,BlakeWilliams/rails,Envek/rails,mathieujobin/reduced-rails-for-travis,brchristian/rails,Erol/rails,aditya-kapoor/rails,fabianoleittes/rails,untidy-hair/rails,iainbeeston/rails,Spin42/rails,gfvcastro/rails,mechanicles/rails,marklocklear/rails,starknx/rails,sealocal/rails,jeremy/rails,coreyward/rails,samphilipd/rails,yasslab/railsguides.jp,iainbeeston/rails,Vasfed/rails,richseviora/rails,richseviora/rails,kmcphillips/rails,iainbeeston/rails,lucasmazza/rails,richseviora/rails,repinel/rails,Edouard-chin/rails,fabianoleittes/rails,illacceptanything/illacceptanything,pvalena/rails,mtsmfm/railstest,repinel/rails,starknx/rails,kachick/rails