Dont try to execute jobs that no longer exist

This solves a crash in cron.php where a background job is registered, the app is updated and the background job class no longer exists.

cc @DeepDiver1975 @PVince81