Та же проблема была у меня давно Failed to bootstrap fresh install: gzip: stdin: not in gzip format; but looks like a curl problem