__render_script now renders {{minion}} when called form os_script (Fixes #18475)

__render_script now renders the {{minion}} jinja2 variable correctly  when called from os_script (Fixes #18475)