Fixes following ProjectService refactoring
fixed delete jar problem. bz-973574
Remove redundant variables