Bug fix in AddOn detection