Icinga2: Fix duplicate notification object generation

fixes #2664