Fix curl command generation.