Fixes https://github.com/nextcloud/server/issues/4646 Signed-off-by: Lukas Reschke <lukas@statuscode.ch>