Fixed jenkins script on places where cURL is not installed