add guard against creation of circular symlink for settings.json