Fix creation of updater-script with loki