Fix some minor issues with the icinga2.debug feature

refs #6702