[PLAT-3857] Allow registry settings root to be specified from an environment variable
[PLAT-3857] Fix error from previous commit