Wrote PackageManager._get_repository_root_directory() tests.