adding the case to handle repository delete action.