find all global packages, list them by directory