fix check if we upload to /Shared
Merge pull request #5613 from owncloud/upload_to_shared

fix check if we upload to /Shared