Correct the api response when both a shipped app and/or a third party app fail
Merge pull request #3121 from owncloud/ocs_fix_api_response

Fix the api response when a shipped and third party app both fail.