fix a crash when the listeners config is not present - no clue how to test that