Refactor logic for OSX etcd cURL statement
Refactor logic for OSX etcd cURL statement

The previous implementation of this statement would have caused two cURL
executions on MacOS.

Signed-off-by: Steve Kuznetsov <a7da0fca91d9933d2725d731a48cabdc9e8ffd7a@redhat.com>

sferich888/origin,juanvallejo/origin,dgoodwin/origin,miminar/origin,mrogers950/origin,tnozicka/origin,nhr/origin,hroyrh/origin,smarterclayton/origin,ramr/origin,smarterclayton/origin,dcbw/origin,xiuwang/origin,csrwng/origin,ramr/origin,adelton/origin,dinhxuanvu/origin,legionus/origin,PI-Victor/origin,dmage/origin,dgoodwin/origin,jwhonce/origin,stevekuznetsov/origin,legionus/origin,pravisankar/origin,enj/origin,php-coder/origin,luciddreamz/origin,kargakis/origin,childsb/origin,juanvallejo/origin,imcsk8/origin,jwhonce/origin,robertol/origin,deads2k/origin,jim-minter/origin,sjug/origin,jpeeler/origin,spadgett/origin,ironcladlou/origin,tnozicka/origin,Miciah/origin,aveshagarwal/origin,matthyx/origin,spadgett/origin,dgoodwin/origin,JacobTanenbaum/origin,jim-minter/origin,sg00dwin/origin,simo5/origin,anpingli/origin,louyihua/origin,php-coder/origin,smarterclayton/origin,rootfs/origin,dobbymoodge/origin,abutcher/origin,php-coder/origin,maxamillion/origin,mkumatag/origin,liggitt/origin,elyscape/origin,sjug/origin,pravisankar/origin,csrwng/origin,rajatchopra/origin,dcbw/origin,mrogers950/origin,detiber/origin,maxamillion/origin,thrasher-redhat/origin,mdshuai/origin,jupierce/origin,jpeeler/origin,dmage/origin,sspeiche/origin,ryanj/origin,rhcarvalho/origin,maxamillion/origin,deads2k/origin,rajatchopra/origin,linzhaoming/origin,jeremyeder/origin,rajatchopra/origin,aveshagarwal/origin,mkumatag/origin,rhcarvalho/origin,pweil-/origin,php-coder/origin,elyscape/origin,jwhonce/origin,tnozicka/origin,rhcarvalho/origin,sdminonne/origin,elyscape/origin,danmcp/origin,nhr/origin,marun/origin,liangxia/origin,adelton/origin,liggitt/origin,liangxia/origin,wjiangjay/origin,sferich888/origin,dobbymoodge/origin,abutcher/origin,thrasher-redhat/origin,pravisankar/origin,kargakis/origin,sallyom/origin,wjiangjay/origin,jsafrane/origin,mdshuai/origin,ravisantoshgudimetla/origin,jeremyeder/origin,markllama/origin,robertol/origin,luciddreamz/origin,nak3/origin,matthyx/origin,juanvallejo/origin,dcbw/origin,dmage/origin,jupierce/origin,marun/origin,childsb/origin,ironcladlou/origin,sallyom/origin,pmorie/origin,eparis/origin,luciddreamz/origin,ravisantoshgudimetla/origin,jeremyeder/origin,imcsk8/origin,nak3/origin,raffaelespazzoli/origin,juanvallejo/origin,ramr/origin,ncdc/origin,danmcp/origin,stevekuznetsov/origin,hferentschik/origin,xiuwang/origin,luciddreamz/origin,hferentschik/origin,mfojtik/origin,legionus/origin,imcsk8/origin,arilivigni/origin,smarterclayton/origin,coreydaley/origin,simo5/origin,nhr/origin,ironcladlou/origin,ncdc/origin,dobbymoodge/origin,dmage/origin,elyscape/origin,jpeeler/origin,gabemontero/origin,rootfs/origin,mahak/origin,goern/origin,raffaelespazzoli/origin,danmcp/origin,dobbymoodge/origin,chlunde/origin,rrati/origin,anpingli/origin,childsb/origin,akram/origin,luciddreamz/origin,marun/origin,rhamilto/origin,rrati/origin,smarterclayton/origin,robertol/origin,soltysh/origin,arilivigni/origin,pecameron/origin,rhamilto/origin,coreydaley/origin,jpeeler/origin,rrati/origin,liangxia/origin,sdminonne/origin,louyihua/origin,dgoodwin/origin,sg00dwin/origin,pweil-/origin,tnozicka/origin,goern/origin,mdshuai/origin,liangxia/origin,robertol/origin,sspeiche/origin,sspeiche/origin,tdawson/origin,robertol/origin,liggitt/origin,akram/origin,enj/origin,JacobTanenbaum/origin,PI-Victor/origin,ingvagabund/origin,jwhonce/origin,childsb/origin,arilivigni/origin,mfojtik/origin,csrwng/origin,liangxia/origin,rhamilto/origin,jupierce/origin,liggitt/origin,coreydaley/origin,ravisantoshgudimetla/origin,jsafrane/origin,soltysh/origin,detiber/origin,wanghaoran1988/origin,linzhaoming/origin,aveshagarwal/origin,dcbw/origin,abutcher/origin,JacobTanenbaum/origin,hroyrh/origin,Miciah/origin,ramr/origin,wjiangjay/origin,miminar/origin,mfojtik/origin,legionus/origin,bparees/origin,hroyrh/origin,jim-minter/origin,nhr/origin,sjug/origin,mahak/origin,imcsk8/origin,rootfs/origin,rootfs/origin,danmcp/origin,kargakis/origin,pecameron/origin,sdminonne/origin,anpingli/origin,hferentschik/origin,ingvagabund/origin,ryanj/origin,abutcher/origin,thrasher-redhat/origin,matthyx/origin,hferentschik/origin,kargakis/origin,matthyx/origin,jpeeler/origin,linzhaoming/origin,markllama/origin,liggitt/origin,PI-Victor/origin,childsb/origin,mrogers950/origin,PI-Victor/origin,adelton/origin,pravisankar/origin,kargakis/origin,rhcarvalho/origin,rhamilto/origin,tdawson/origin,pweil-/origin,enj/origin,sspeiche/origin,ryanj/origin,spadgett/origin,spadgett/origin,pmorie/origin,simo5/origin,imcsk8/origin,liangxia/origin,dinhxuanvu/origin,wanghaoran1988/origin,Miciah/origin,ramr/origin,abutcher/origin,mrogers950/origin,detiber/origin,eparis/origin,stevekuznetsov/origin,pmorie/origin,ncdc/origin,bparees/origin,marun/origin,mahak/origin,goern/origin,ryanj/origin,dinhxuanvu/origin,rhamilto/origin,ncdc/origin,arilivigni/origin,php-coder/origin,rhcarvalho/origin,jwhonce/origin,ryanj/origin,PI-Victor/origin,pmorie/origin,tdawson/origin,soltysh/origin,mrogers950/origin,robertol/origin,tnozicka/origin,gabemontero/origin,adelton/origin,tnozicka/origin,xiuwang/origin,jupierce/origin,bparees/origin,markllama/origin,maxamillion/origin,aveshagarwal/origin,aveshagarwal/origin,rrati/origin,ingvagabund/origin,wjiangjay/origin,nhr/origin,rajatchopra/origin,hferentschik/origin,childsb/origin,eparis/origin,linzhaoming/origin,ravisantoshgudimetla/origin,dcbw/origin,pecameron/origin,detiber/origin,jupierce/origin,louyihua/origin,simo5/origin,miminar/origin,akram/origin,nak3/origin,miminar/origin,jeremyeder/origin,rajatchopra/origin,liggitt/origin,maxamillion/origin,adelton/origin,kargakis/origin,dinhxuanvu/origin,thrasher-redhat/origin,rajatchopra/origin,jwhonce/origin,wanghaoran1988/origin,raffaelespazzoli/origin,mdshuai/origin,mdshuai/origin,rootfs/origin,openshift/origin,openshift/origin,markllama/origin,php-coder/origin,linzhaoming/origin,gabemontero/origin,dobbymoodge/origin,markllama/origin,sg00dwin/origin,sg00dwin/origin,elyscape/origin,eparis/origin,dobbymoodge/origin,luciddreamz/origin,simo5/origin,dgoodwin/origin,wanghaoran1988/origin,sferich888/origin,goern/origin,imcsk8/origin,miminar/origin,chlunde/origin,juanvallejo/origin,matthyx/origin,jsafrane/origin,markllama/origin,deads2k/origin,spadgett/origin,detiber/origin,miminar/origin,louyihua/origin,sallyom/origin,PI-Victor/origin,mdshuai/origin,mrogers950/origin,rrati/origin,mkumatag/origin,pmorie/origin,ravisantoshgudimetla/origin,chlunde/origin,jeremyeder/origin,pravisankar/origin,legionus/origin,hferentschik/origin,raffaelespazzoli/origin,ryanj/origin,openshift/origin,juanvallejo/origin,tdawson/origin,dinhxuanvu/origin,wjiangjay/origin,wanghaoran1988/origin,chlunde/origin,wjiangjay/origin,stevekuznetsov/origin,louyihua/origin