My understanding: The z-spread ignores options embedded in the bond (z for zero volatility) that will change the market value of the bond and thus lead to a different YTM since you just use the MV without correcting for the difference in value that comes from the option
The z-spread doesn’t ignore options embedded in the bond; you can adjust the cash flows as appropriate should the option be exercised.
What it doesn’t do (that the OAS methodology does) is offer multiple interest rate scenarios to allow you to calculate an expected value for any options; as you say, it has zero volatility, so the future interest rates are deterministic. The value you get for an embedded option is the value only if interest rates evolve according today’s (fixed) yield curve.
Recall the typical picture relating the z-spread, OAS, and option value. The z-spread (if you assume that the option isn’t exercised) is the spread for the bond with the option, the OAS is the spread for the bond without the option, and the difference is the option value.
You simply have to bear in mind what the z-spread means in that situation.