Don't make it too verbose; just have a

```javascript
let appSys = Shell.AppSystem.get_default();

if (...)
    this._app = appSys.lookup_app(player_name + ".desktop");

if (!this._app)
    this._app = appSys.lookup_app(...)
```