Don't 500 when disabling apps with deleted versions (bug 1050938)