Revert "Bugfix for add-on check"

This reverts commit 12a7cb1047eff3e64c9d670d6f81f5fd5878177f.