Fix deployment when addons manager isn't used