Just looking through the code, you have found a bug (albeit one that is never seen unless in situations like this)
You can set the agent name and agent host by looking in the files admin/GT/URI/HTTP.pm and admin/GT/URI/HTTPS.pm. In the files, around line 34, where it says agent_name and agent_host, set the parameters to whatever you'd like.