you should return before, right after `var stageManifest`, in order to prevent registering the app into `webappsJSON` if there is no manifest.