Merge pull request #3019 from owncloud/fix-3004

Test if we want a 3rdparty style/script before checking the 3rdparty root