Fix undefined variable when uninstalling an app

Fixes #9842

cc @jancborchardt 
Please use filterAttr - see https://github.com/owncloud/core/blob/master/apps/files/js/filelist.js#L460