Follow up issue from https://github.com/owncloud/client/pull/5668#issuecomment-302044607
Follow up issue from #5668 (comment)