modrepo: bugfixes

- call module destructor on loaded modules only
- add missing newline to message about dependency loading