Pull out ugly 'command -v' code to a utility function
Pull out ugly 'command -v' code to a utility function

squaremo/weave,tomwilkie/weave,squaremo/weave,tomwilkie/weave,rade/weave,OnePaaS/weave,paulbellamy/weave,paulbellamy/weave,rade/weave,philipz/weave,tomwilkie/weave,achanda/weave,squaremo/weave,inercia/weave,weaveworks/weave,weaveworks/weave,2opremio/weave,squaremo/weave,dpw/weave,BWITS/weave,paulbellamy/weave,cgvarela/weave,aaam/weave,kidaa/weave,19hz/weave,weaveworks/weave,inercia/weave,tomwilkie/weave,awanke/weave,cgvarela/weave,inercia/weave,tomwilkie/weave,paladin74/weave,ycaihua/weave,BWITS/weave,19hz/weave,awanke/weave,BWITS/weave,BWITS/weave,errordeveloper/weave,beni55/weave,errordeveloper/weave,philipz/weave,ycaihua/weave,beni55/weave,awh/weave,awanke/weave,BWITS/weave,ycaihua/weave,19hz/weave,cgvarela/weave,rade/weave,narry/weave,kidaa/weave,errordeveloper/weave,philipz/weave,beni55/weave,cgvarela/weave,inercia/weave,OnePaaS/weave,2opremio/weave,aaam/weave,paladin74/weave,n054/weave,paladin74/weave,n054/weave,awh/weave,narry/weave,awh/weave,rade/weave,aaam/weave,Lawouach/weave,ycaihua/weave,paladin74/weave,achanda/weave,2opremio/weave,bboreham/weave,n054/weave,n054/weave,inercia/weave,paulbellamy/weave,aaam/weave,bboreham/weave,weaveworks/weave,achanda/weave,ycaihua/weave,beni55/weave,errordeveloper/weave,achanda/weave,awh/weave,philipz/weave,paladin74/weave,dpw/weave,narry/weave,OnePaaS/weave,errordeveloper/weave,n054/weave,cgvarela/weave,Lawouach/weave,beni55/weave,2opremio/weave,dpw/weave,achanda/weave,rade/weave,2opremio/weave,squaremo/weave,awh/weave,bboreham/weave,kidaa/weave,philipz/weave,Lawouach/weave,kidaa/weave,bboreham/weave,OnePaaS/weave,narry/weave,OnePaaS/weave,bboreham/weave,aaam/weave,dpw/weave,19hz/weave,narry/weave,awanke/weave,awanke/weave,kidaa/weave,dpw/weave,Lawouach/weave