Get rid of had_job variable in cache_pruner_job()
Remove bogus __attribute__((unused))
Do not crash on NULL strings