Rescue from RSpec error
Treat settings as string (like before)
Fix restore default settings from rake task
Fix https://github.com/jbox-web/redmine_git_hosting/issues/258