Please use normalize_uri to build the url_path. And also use "get_params" to specify the GET params to send_request_cgi. Feel free to check:

https://github.com/rapid7/metasploit-framework/wiki/How-to-Send-an-HTTP-Request-Using-HTTPClient

Which is a nice reference about hot to use the HttpClient mixin.