Fix quadlet_options placement when restart_policy is set (#1017)