Bugfix: Don't trigger ignore list when files are locked on the server

https://github.com/owncloud/enterprise/issues/5382
