Fix failed to start issue with new secrets system
Resolve an issue where the system fails to start if no secrets file exists but the existing settings.json or triggers.json file uses mustache templates, or when the secrets method of loading the settings file isn't used.