Commit f7bdd8370ff893175a8c24230e0c3d08406d539e (git-to-patches: Simplify run_patch function) broken the failure case.
Apparently, we do not have anything which exercises this part of patch regeneration in the test suite.
Metadata Update from @fweimer: - Issue assigned to fweimer
Metadata Update from @fweimer: - Issue close_status updated to: Fixed - Issue status updated to: Closed (was: Open)