Store and restore previous etag when refreshing

If conditional refresh gives no results, restore the previous etag so
that a second refresh uses it instead of None.