Fix 'undefined method `gsub' for nil:NilClass' when undefined method is called.
Fix 'undefined method `gsub' for nil:NilClass' when undefined method is called.

Closes #1388.
http://stackoverflow.com/questions/18037596/error-undefined-method-gsub-for-nilnilclass/18038912

martynbm/jekyll,aarvay/jekyll,digideskio/jekyll,anthonyrosengren/grasshoppergathering2.github-io,liukaijv/jekyll,Tiger66639/jekyll,greent2008/jekyll,bsmr-ruby/jekyll,tomasdiez/jekyll,howkj1/jekyll,ryanshaw/jekyll,gencer/jekyll,LeuisKen/jekyllcn,tareq-s/jekyll,gencer/jekyll,tillgrallert/jekyll,abhilashhb/jekyll,CheekyFE/jekyll,FlyingWHR/jekyll,QuinntyneBrown/jekyll,princeofdarkness76/jekyll,ramoslin02/jekyll,mnuessler/jekyll,xiongjungit/jekyll,stevecrozz/jekyll,ryanshaw/jekyll,wentixiaogege/jekyll,kimeng/jekyll,ajhit406/jekyll,Teino1978-Corp/jekyll,rajrathore/jekyll,derekgottlieb/jekyll,hartmel/jekyll,sanxore/sanxore.github.com,rebornix/jekyll,tillgrallert/jekyll,rlugojr/jekyll,gaosboy/jekyll,jaroot32/jekyll,teju111/jekyll,chrisfinazzo/jekyll,naughtyboy83/jekyll,jeffkole/jekyll,bsmr-ruby/jekyll,xcatliu/jekyllcn,princeofdarkness76/jekyll,ryanshaw/jekyll,nathanhorrigan1/webdeveloper,dezon/jekyll,chiyodad/jekyll,tareq-s/jekyll,tillgrallert/jekyll,iRoxx/jekyll,Wirachmat/jekyll,jmhardison/jekyll,alex-kovac/jekyll,angeliaz/jekyll,jmknoll/jekyll,brint/jekyll,Kinghack/kinghack.github.com,backendeveloper/jekyll,angeliaz/jekyll,xiebinhqy/jklly_china,backendeveloper/jekyll,xcatliu/jekyllcn,jeffkole/jekyll,shuber2/jekyll,richsoni/jekyll,honger05/jekyllcn,ls2uper/jekyll,ajhit406/jekyll,kinlane/jekyll,tamouse/jekyll,MjAbuz/jekyll,mixxmac/jekyll,garvitr/jekyll,Teino1978-Corp/Teino1978-Corp-jekyll,cyberid41/jekyll,UniFreak/jekyllcn,gencer/jekyll,rongl/jekyll,xantage/jekyll,derekgottlieb/jekyll,trungvothanh/jekyll,tylermachen/jekyll,tugberkugurlu/jekyll,doubleday/jekyll,digideskio/jekyll,goragod/jekyll,noikiy/jekyll,johnnycastilho/jekyll,dangaute/eng,Tiger66639/jekyll,gkunwar/gkunwar.github.io,teju111/jekyll,fengsmith/jekyll,PepSalehi/jekyll,QuinntyneBrown/jekyll,goragod/jekyll,digideskio/jekyll,krahman/jekyll,alfredxing/jekyll,getandpost/jekyll.github.io,rovrevik/jekyll,marrujoalex/jekyll,brint/jekyll,julienbourdeau/jekyll,codeclimate-testing/jekyll,liukaijv/jekyll,sanxore/sanxore.github.com,derekgottlieb/jekyll,0x00evil/jekyll,chrisfinazzo/jekyll,gaosboy/jekyll,oresmus/jekyll,dezon/jekyll,zsyed91/jekyll,alihalabyah/jekyll,christophermanning/jekyll,jmptrader/jekyll,eninya/jekyll,Teino1978-Corp/Teino1978-Corp-jekyll,martynbm/jekyll,chiyodad/jekyll,daniel-beck/jekyll,derekgottlieb/jekyll,floydpraveen/jekyll,mrb/jekyll,richsoni/jekyll,tylermachen/jekyll,jaroot32/jekyll,nasht00/jekyll,likong/jekyll,vidbina/jekyll,sideci-sample/sideci-sample-jekyll,wadaries/jekyll,xcatliu/jekyllcn,tamouse/jekyll,vcgato29/jekyll,tobscure/jekyll,LeuisKen/jekyllcn,penchan1218/jekyllcn,penchan1218/jekyllcn,noikiy/jekyll,winndows/jekyll,tylermachen/jekyll,fulldecent/jekyll,harrissoerja/jekyll,cyberid41/jekyll,gynter/jekyll,tomjohnson1492/jekyll,ZDroid/jekyll,0x00evil/jekyll,CPVPLachlan/CPVP-Blog,tomjohnson1492/jekyll,richsoni/jekyll,htmelvis/jekyll,fabulousu/jekyll,18F/jekyll,imaustink/jekyll,m2candre/jekyll,leichunxin/jekyll,krahman/jekyll,LeuisKen/jekyllcn,desidude03/jekyll,desidude03/jekyll,schaazzz/jekyll,superve/jekyll,x-way/jekyll,goodtouch/jekyll,hartmel/jekyll,AtekiRyu/jekyll,xiaoshaozi52/jekyll,Tyrion22/jekyll,xantage/jekyll,iRoxx/jekyll,ReachingOut/jekyll,abhilashhb/jekyll,wadaries/jekyll,alihalabyah/jekyll,doubleday/jekyll,rasa2011/rasa2011.github.io,johnnycastilho/jekyll,MjAbuz/jekyll,hiteshsuthar/jekyll,LuoPX-15510486969/jekyll,Tiger66639/jekyll,oresmus/jekyll,jekyll/jekyll,julienbourdeau/jekyll,krishnakalyan3/jekyll,eninya/jekyll,winndows/jekyll,yhironaka/yhironaka.github.io,noikiy/jekyll,indraj/jekyll,UniFreak/jekyllcn,imaustink/jekyll,liukaijv/jekyll,matuzo/jekyll,rlugojr/jekyll,gkunwar/gkunwar.github.io,SQS2/Test,CorainChicago/jekyll,fengsmith/jekyll,akoeplinger/jekyll,stevecrozz/jekyll,ducktyper/jekyll,ls2uper/jekyll,18F/jekyll,jaroot32/jekyll,xiebinhqy/jklly_china,ZDroid/jekyll,sasongkojati/jekyll,chrisfinazzo/jekyll,stomar/jekyll,CorainChicago/jekyll,nickg33/jekyll,foocoder/jekyll,superve/jekyll,SQS2/Test,ewinkler/jekyll,LuoPX-15510486969/jekyll,Strangehill/jekyll,dansef/jekyll,ducktyper/jekyll,naughtyboy83/jekyll,Tyrion22/jekyll,tillgrallert/jekyll,noikiy/jekyll,dansef/jekyll,winndows/jekyll,cyberid41/jekyll,fulldecent/jekyll,likong/jekyll,thetaxman/jekyll,QuinntyneBrown/jekyll,isathish/jekyll,rlugojr/jekyll,kinlane/jekyll,hubsaysnuaa/jekyll,stomar/jekyll,xiaoshaozi52/jekyll,sanxore/sanxore.github.com,tobscure/jekyll,zhangkuaiji/jekyllcn,nasht00/jekyll,mnuessler/jekyll,rajrathore/jekyll,ZDroid/jekyll,codeclimate-testing/jekyll,penchan1218/jekyllcn,tillgrallert/jekyll,sferik/jekyll,krishnakalyan3/jekyll,gencer/jekyll,gynter/jekyll,LuoPX-15510486969/jekyll,fulldecent/jekyll,MauroMrod/jekyll,lcustodio/lcustodio.github.io_base,xiaoshaozi52/jekyll,rongl/jekyll,harrissoerja/jekyll,nemotan/jekyll,darwin/jekyll,saitodisse/jekyll,ZainRizvi/jekyll,trungvothanh/jekyll,royalwang/jekyll,adilapapaya/jekyll,backendeveloper/jekyll,getandpost/jekyll.github.io,egobrightan/jekyll,xtymichael/jekyll,oresmus/jekyll,nemotan/jekyll,jmknoll/jekyll,jmepg/jekyll,ZainRizvi/jekyll,CheekyFE/jekyll,saitodisse/jekyll,alihalabyah/jekyll,pheuko/jekyll,jekyll/jekyll,egobrightan/jekyll,alex-kovac/jekyll,x-way/jekyll,monxim/monxim.github.io,gkunwar/gkunwar.github.io,kuangyeheng/jekyll,vidbina/jekyll,thetaxman/jekyll,omeripek/jekyll,jaybe-jekyll/jekyll,imaustink/jekyll,jeffkole/jekyll,anthonyrosengren/grasshoppergathering2.github-io,AaronSikes/jekyll,ReachingOut/jekyll,EddieDow/jekyll,johnnycastilho/jekyll,saitodisse/jekyll,getandpost/jekyll.github.io,Strangehill/jekyll,lazycai/lazycai.github.com,likong/jekyll,EddieDow/jekyll,thejameskyle/jekyll,honger05/jekyllcn,nathanhorrigan1/webdeveloper,xiongjungit/jekyll,lazycai/lazycai.github.com,foocoder/jekyll,darwin/jekyll,rasa2011/rasa2011.github.io,thejameskyle/jekyll,yihangho/jekyll,sasongkojati/jekyll,monxim/monxim.github.io,ReachingOut/jekyll,MjAbuz/jekyll,nfagerlund/jekyll,isathish/jekyll,tomjohnson1492/jekyll,lazycai/lazycai.github.com,rovrevik/jekyll,mixxmac/jekyll,rovrevik/jekyll,garvitr/jekyll,wentixiaogege/jekyll,isathish/jekyll,eloyesp/jekyll,gynter/jekyll,tomasdiez/jekyll,pheuko/jekyll,foocoder/jekyll,AnanthaRajuC/jekyll,nathanhorrigan1/webdeveloper,desidude03/jekyll,AtekiRyu/jekyll,jmepg/jekyll,aarvay/jekyll,rebornix/jekyll,alfredxing/jekyll,egobrightan/jekyll,Teino1978-Corp/jekyll,nateberkopec/jekyll,18F/jekyll,royalwang/jekyll,larryfox/jekyll,shliujing/jekyll,leichunxin/jekyll,zsyed91/jekyll,FlyingWHR/jekyll,ramoslin02/jekyll,alex-kovac/jekyll,kimeng/jekyll,AnanthaRajuC/jekyll,indraj/jekyll,daniel-beck/jekyll,AaronSikes/jekyll,superve/jekyll,floydpraveen/jekyll,eloyesp/jekyll,chiyodad/jekyll,anthonyrosengren/grasshoppergathering2.github-io,Kinghack/kinghack.github.com,shliujing/jekyll,nemotan/jekyll,drobati/jekyll,jaybe-jekyll/jekyll,zhangkuaiji/jekyllcn,Tyrion22/jekyll,fengsmith/jekyll,FlyingWHR/jekyll,dangaute/eng,xantage/jekyll,AnanthaRajuC/jekyll,stomar/jekyll,chinayin/jekyll,jmknoll/jekyll,martynbm/jekyll,pheuko/jekyll,garvitr/jekyll,x-way/jekyll,pmarsceill/jekyll,UniFreak/jekyllcn,htmelvis/jekyll,Teino1978-Corp/Teino1978-Corp-jekyll,drobati/jekyll,thejameskyle/jekyll,gencer/jekyll,nateberkopec/jekyll,brint/jekyll,Strangehill/jekyll,supriyantomaftuh/jekyll,htmelvis/jekyll,CPVPLachlan/CPVP-Blog,mrb/jekyll,alex-kovac/jekyll,Strangehill/jekyll,rebornix/jekyll,lcustodio/lcustodio.github.io_base,rajrathore/jekyll,alex-kovac/jekyll,ZainRizvi/jekyll,tareq-s/jekyll,yihangho/jekyll,harrissoerja/jekyll,wadaries/jekyll,tobscure/jekyll,nasht00/jekyll,howkj1/jekyll,eninya/jekyll,goodtouch/jekyll,chinayin/jekyll,chrisfinazzo/jekyll,xtymichael/jekyll,darwin/jekyll,howkj1/jekyll,adilapapaya/jekyll,jaybe-jekyll/jekyll,fengsmith/jekyllcn,dezon/jekyll,CorainChicago/jekyll,princeofdarkness76/jekyll,stevecrozz/jekyll,adilapapaya/jekyll,christophermanning/jekyll,rlugojr/jekyll,CPVPLachlan/CPVP-Blog,bsmr-ruby/jekyll,xiebinhqy/jklly_china,lazycai/lazycai.github.com,fabulousu/jekyll,shuber2/jekyll,trungvothanh/jekyll,codeclimate-testing/jekyll,sasongkojati/jekyll,yihangho/jekyll,teju111/jekyll,fengsmith/jekyllcn,alfredxing/jekyll,ajhit406/jekyll,gaosboy/jekyll,jmhardison/jekyll,mrb/jekyll,0x00evil/jekyll,matuzo/jekyll,aarvay/jekyll,royalwang/jekyll,alfredxing/jekyll,floydpraveen/jekyll,doubleday/jekyll,nickg33/jekyll,zsyed91/jekyll,mrb/jekyll,iRoxx/jekyll,marrujoalex/jekyll,shliujing/jekyll,m2candre/jekyll,jmhardison/jekyll,thetaxman/jekyll,tomjohnson1492/jekyll,honger05/jekyllcn,hiteshsuthar/jekyll,indraj/jekyll,nickg33/jekyll,marrujoalex/jekyll,leichunxin/jekyll,zhangkuaiji/jekyllcn,dansef/jekyll,ewinkler/jekyll,ryanshaw/jekyll,schaazzz/jekyll,eloyesp/jekyll,bsmr-ruby/jekyll,fabulousu/jekyll,xiongjungit/jekyll,akoeplinger/jekyll,lcustodio/lcustodio.github.io_base,tugberkugurlu/jekyll,supriyantomaftuh/jekyll,krahman/jekyll,shuber2/jekyll,tomasdiez/jekyll,PepSalehi/jekyll,Strangehill/jekyll,ewinkler/jekyll,xcatliu/jekyllcn,daniel-beck/jekyll,jeffkole/jekyll,hubsaysnuaa/jekyll,brint/jekyll,vidbina/jekyll,matuzo/jekyll,CheekyFE/jekyll,AtekiRyu/jekyll,MauroMrod/jekyll,zsyed91/jekyll,Kinghack/kinghack.github.com,darwin/jekyll,pmarsceill/jekyll,pmarsceill/jekyll,tamouse/jekyll,jmepg/jekyll,ramoslin02/jekyll,PepSalehi/jekyll,tugberkugurlu/jekyll,wentixiaogege/jekyll,1gitGrey/jekyll,rasa2011/rasa2011.github.io,rongl/jekyll,MauroMrod/jekyll,drobati/jekyll,goragod/jekyll,Wirachmat/jekyll,greent2008/jekyll,floydpraveen/jekyll,angeliaz/jekyll,omeripek/jekyll,fengsmith/jekyllcn,omeripek/jekyll,supriyantomaftuh/jekyll,vcgato29/jekyll,hiteshsuthar/jekyll,nasht00/jekyll,kimeng/jekyll,jmptrader/jekyll,nateberkopec/jekyll,princeofdarkness76/jekyll,kuangyeheng/jekyll,hubsaysnuaa/jekyll,fulldecent/jekyll,jaybe-jekyll/jekyll,vcgato29/jekyll,hartmel/jekyll,EddieDow/jekyll,abhilashhb/jekyll,mnuessler/jekyll,ajhit406/jekyll,1gitGrey/jekyll,mixxmac/jekyll,SQS2/Test,pmarsceill/jekyll,x-way/jekyll,larryfox/jekyll,larryfox/jekyll,chinayin/jekyll,Teino1978-Corp/jekyll,dangaute/eng,greent2008/jekyll,ducktyper/jekyll,christophermanning/jekyll,julienbourdeau/jekyll,nfagerlund/jekyll,kuangyeheng/jekyll,krishnakalyan3/jekyll,sideci-sample/sideci-sample-jekyll,stomar/jekyll,xtymichael/jekyll,naughtyboy83/jekyll,tomjohnson1492/jekyll,jmptrader/jekyll,AaronSikes/jekyll,m2candre/jekyll,jekyll/jekyll,Wirachmat/jekyll,ls2uper/jekyll,sferik/jekyll,xiebinhqy/jklly_china,jekyll/jekyll,schaazzz/jekyll