Fix bug where after_success/failure steps would be run twice for addons