APPDATA and the LOCALAPPDATA environment variables are incorrect when lauching an application that belongs to a layer