t5505: fix "set-head --auto with ambiguous HEAD" test