refs #124; fixes some redirection problems when downloading packages.

This should fix the error described in #124. I could now install that package with that fix.