magit-insert-status-head-line: verify HEAD exists