rest: put .git deletion to correct task