Avoid nesting Optionals inside Optionals; the resultant code is hard to reason about

See: https://error-prone.picnic.tech/bugpatterns/NestedOptionals