Fix for DBus module crashing when logging it