curl_getinfo actually defaults $opt to 0, not null.

Change-Id: I4c6a3e91a1702f684099103a9104b07bfde9fbd5