Modified so that schemes other than puppet:/// will work for downloading logstash jar files