Fix bug that caused addons not to run

run_custom_stage only got called if the stage was specified in the
config, so if there's no `before_install` or `before_script` stage in
the config already, the addons won't run as they should.