[AddonManager] Fix major installation bug