TUP-1962: review the implementation of the localrepository