Fix AppManager caching behavior

Apps are expected to be a singleton so that they can be mutated during
the build process.