Catch exception when loading system proxy

Some users reported errors loading system proxy setting on CentOS. This may help