export registration settings (bnc#897755)

...also when no extension or module has been registered

- 3.1.124