git_panel: Fix amend check (#29059)

`is_some` -> `is_none` 

Release Notes:

- N/A
c585dbd8ffSmit Barmase committed on 4/18/2025, 4:54:49 PM· committed by GitHubparentc7fc95e
1 file changedLine totals unavailable