polkit (formerly PolicyKit) is a toolkit for defining and handling authorizations. It is used for allowing unprivileged processes to speak to privileged processes.
Previously, it would try to get sysusers_dir from systemd even though systemd_dep was undefined. Determining systemd_systemdsystemunitdir from systemd was already checking for systemd logind specifically, and systemd_sysusers_dir is only used in the systemd logind case, so move both of those into the systemd-logind-specific branch above.
Summary
Detailed description and/or reproducer
Previously, it would try to get sysusers_dir from systemd even though systemd_dep was undefined. Determining systemd_systemdsystemunitdir from systemd was already checking for systemd logind specifically, and systemd_sysusers_dir is only used in the systemd logind case, so move both of those into the systemd-logind-specific branch above.