Fix silent crash if 3rdparty dir is not available
Replace exit with return
Merge pull request #10029 from owncloud/fix-thirdparty

Fix silent crash if 3rdparty dir is not available