Fix ENOENT for people with HTTPS disabled