Fix Etag handling

Move out ETag handling from the `else` statement to handle the case where `Network is unreachable`.