r7518: don't use an uninitialised ldb debug function when failing to load modules...