replace Notify with #notify in controller

Notify is for ActiveRecord models only
add missing notification when repo discovery fails
Merge pull request #1568 from pitr-ch/bug/781206-missing-notifications

781206 - Need a to have notifications for delayed job errors.