adding checks and log messages regarding the assets folder
Merge pull request #8210 from owncloud/enhance-assets-management-master

adding checks and log messages regarding the assets folder