Replace catch-all exception handler in UpdateCheck
Refactor some constants in UpdateCheck
Merge pull request #2830 from federicobond/updatechecker

Some minor UpdateChecker refactorings