[stable10] Fix for error when querying non present log_secret
[stable10] Fix for error when querying non present log_secret

phil-davis/core,owncloud/core,owncloud/core,owncloud/core,owncloud/core,owncloud/core