Fix `uv python pin 3.13t` failure when parsing version for project requires check (#8056)
Closes https://github.com/astral-sh/uv/issues/7964
We can probably do some restructuring to avoid unwrapping here in the
future, but this just fixes the bug quick.