Fix undefined variable when uninstalling an app
Merge pull request #10154 from owncloud/uninstall-undefined-appitem

Fix undefined variable when uninstalling an app