Gathering packages' repo.

Solution is not complete and only gathers if package is local or not.