As the directory contains not only addons, but also credentials and
extensions.
No functional change, just refactoring.
Follow-up for 75ee025c5d.
Addresses the post-merge comment
https://github.com/systemd/systemd/pull/36218#discussion_r1940872236.