Fixed the generated UsesImportedPackage in UpdateTestResources.