Changed how deployed appname vs local app name are handled and cached.
Now there is one clear API to obtain the deployed app name, and a clear
way to obtain the local app name (typically the workspace project name).