Fix Crashing on Mate-Terminal when proxy is set

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org>