Optimize sourcedeletion function

Optimization done in runtime at revfile rewrite process and do
not fail if a project was deleted during (long) run