[JENKINS-18814,JENKINS-22075] - Handling of deleted tools