Always write auto-install-extensions to prefs

This is for #9770.