Use app.update.channel instead of Cc['@mozilla.org/xre/app-info;1']...defaultUpdateChannel.