git clone (which uses curl) underneath was failing. Curiously, the same
git clone command would work on my macos host machine.
VM versions:
Curl, 7.35.0
OpenSSL/1.0.1f
Macos versions:
Curl, 7.54.0
LibreSSL/2.0.20
Tried compiling a newer version of curl from source, but I got stuck
chasing missing dependencies. Did a workaround with wget download
that manages to download over https.