Url changes to 'localhost' when uploading a file

Hi,

I am facing an issue (or it is meant to be) where the URL changes to ‘localhost’ instead of the custom hostname when sentry-cli is uploading a file to the server. So for example, it logins correctly with an address
www.abc.com/api/0/...
then, when it gets to the step of uploading the file (gzip), it is changing it to
localhost/api/0/...

I am wondering if this is supposed to be this way?

Thanks,