Fix replacing env with unquoted keys.