Removing the `!empty()` check here can trigger a warning when $ident is null (line 655) case. _Originally posted by @cebe in https://github.com/roundcube/roundcubemail/pull/9654#discussion_r2128516385_