Fix log action order in generaloption

```python
log_action_taken = getattr(self.options, '_logaction_taken', False)
```

is shorter?