Make sure that Notification::notification_command is set.

Fixes #5056