Remove unnecessary assert.

do_notify_failure_command is called in two different ways, and this assert is
only relevant for one of the paths. That path explicitly checks for the
condition that the assert checks, so the latter is unnecessary.

Bug spotted by Edd Barrett.