Don't use ternary if statements. Fixes #8784
Default fetch_url to use TLSv1 instead of SSLv2/3
Set the shell variable on the ssh connection type for accelerated mode

Fixes #8799
Merge pull request #8790 from sivel/issue/8784

Don't use ternary if statements. Fixes #8784