modified broken script to allow spec file download

The script currently breaks, this will allow the script to run regardless of the changes in the SSL certificates on github.