Better handling of non-ASCII branch names