Properly set repository name for local packages.