Improvement on Proxy Support for ScriptRepository

In Linux machines ScriptRepository used to test the proxy definition, but
not in Windows machines. This commit harmonize this in order to verify the
proxy definition for both systems.

re #7974
Merge branch 'bugfix/7974_fix_proxy_win' into develop