Handle redirects while fetching python artifacts