Bugfix: Fix the error handling for empty name on space update

Fix the error handling for empty name on space update.

https://github.com/owncloud/ocis/pull/11933
https://github.com/owncloud/ocis/issues/11887