Don't try to use `go env` if `go` is not installed
Don't try to use `go env` if `go` is not installed

When someone is running our scripts without `go` installed, they will
not be able to take advantage of the `$OS_OUTPUT_BINPATH` prefix for
the `$PATH` by default, as we will not be able to determine where the
built binaries would go.

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

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