Fix add-in registry initialization issue

The startup directory was not provided.
Fixes 14226 - mdtool setup reg-build is completely broken.