// host isn't set until we call deployer.manageApp, so pass it
// ?? host is set through an event and it can be null here :(
ContextInfo contextInfo = addContextInfo(host, standardContext);
contextInfo.appInfo = appInfo;
contextInfo.deployer = deployer;
deployer.manageApp(standardContext);
} else if (hosts.containsKey(host)) {
Host theHost = hosts.get(host);
ContextInfo contextInfo = addContextInfo(host, standardContext);
contextInfo.appInfo = appInfo;