sip: fix --HEAD

Closes #26469.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>