Fixed Curl Redirection Issue with downloading magento tools by adding -L