The ErrorOr should not be dereferenced on the error path.
LGTM
I don't have commit access, could you commit this for me?