log: handle broken HEAD in decoration check