Various fixes

Write config without errors
Silently download installed files
Test if service account trusts Jenkins server