Could you write this w/o the else:
```
$redirect = false;
if ($this->getServiceLocator()->get('zfcuser_module_options')->getUseRedirectParameterIfPresent() && $this->getRequest()->getQuery()->get('redirect')) {
    $redirect = $this->getRequest()->getQuery()->get('redirect');
}