Fix protocol not being set correctly, closes #230.
Fix protocol not being set correctly, closes #230.

Also account for errors when creating temp dirs.

akaash-nigam/bower,XCage15/bower,cnbin/bower,amilaonbitlab/bower,angeliaz/bower,ThiagoGarciaAlves/bower,mattpugh/bower,pjump/bower,Teino1978-Corp/Teino1978-Corp-bower,magnetech/bower,perdona/bower,msbit/bower,pwang2/bower,Teino1978-Corp/bower,kevinjdinicola/hg-bower,JFrogDev/bower-art,dreamauya/bower,jvkops/bower,perdona/bower,prometheansacrifice/bower,krahman/bower,omurbilgili/bower,xfstudio/bower,bower/bower,return02/bower,Blackbaud-EricSlater/bower,adriaanthomas/bower,TooHTooH/bower,twalpole/bower,gronke/bower,M4gn4tor/bower,sanyueyu/bower,Backbase/bower,wenyanw/bower,perdona/bower,unilynx/bower,grigorkh/bower,DrRataplan/bower,kodypeterson/bower,gorcz/bower,skinzer/bower,jodytate/bower,fewspider/bower,jisaacks/bower,insanehong/bower,buildsample/bower,yinhe007/bower,mex/bower,vladikoff/bower,fernandomoraes/bower,perdona/bower,yuhualingfeng/bower,rlugojr/bower,cgvarela/bower,pertrai1/bower,Jinkwon/naver-bower-cli,thinkxl/bower,PimsJay01/bower,rajzshkr/bower,DevVersion/bower,liorhson/bower,lukemelia/bower,Connectlegendary/bower,supriyantomaftuh/bower,watilde/bower,Jeremy017/bower,hyperweb2/upt,kruppel/bower,haolee1990/bower