Fixed curl proxy

Fixed the curl command to use the correct variable name