Fix empty smb server name (issue #4709)