Fix malformed address

Please see https://github.com/gogits/gogs/pull/537