Fixed parse_actor_and_date with mangled tags

`parse_actor_and_date()` crashes on some tags (e.g. tags without attached commit or with unexpected annotation info). Here is a workaround for that.