The exception is "Prelude.head: empty list" and is caused by ignoring
the ref's name after a "tag" command which leads to the bug when we
issue the "Ignoring out-of-order tag" warning. Note that the handling of
refs (tags and branches) in darcs import is rotten and needs to be fixed
but this is a different matter.