Incorrect variable used for cURL transport UA setting