Import: return all project metadata (including children) to caller
diff --git a/bundles/org.eclipse.orion.client.ui/web/import/Injector.js b/bundles/org.eclipse.orion.client.ui/web/import/Injector.js
index cf88cf4..e1c7b0e 100644
--- a/bundles/org.eclipse.orion.client.ui/web/import/Injector.js
+++ b/bundles/org.eclipse.orion.client.ui/web/import/Injector.js
@@ -103,6 +103,9 @@
 				return new Deferred.reject(e);
 			});
 		};
+		var readProject = function(project) {
+			return fileClient.read(project.ChildrenLocation, true);
+		};
 		var uploadZip = function(importLocation, zipData) {
 			// TODO why don't file service impls support this??
 			return xhr('POST', importLocation, {
@@ -117,10 +120,12 @@
 			return fileClient.loadWorkspace().then(function(workspace) {
 				console.log('loaded workspace ' + workspace.Location);
 				return ensureProjectExists(workspace.ChildrenLocation, projectName).then(function(project) {
-					return fileClient.read(project.ChildrenLocation, true).then(function(projectMetadata) {
+					return readProject(project).then(function(projectMetadata) {
 						console.log('Unzipping (importing) to ' + projectMetadata.ImportLocation);
 						return uploadZip(projectMetadata.ImportLocation, projectZipData).then(function() {
-							return projectMetadata;
+							return readProject(project).then(function(projectMetadata) {
+								return projectMetadata;
+							});
 						});
 					});
 				});