Bug 875400 - Add-on support and hashing changes for Environment.
Log failure in onUpgrade.