Fix warnings when a branch name has UTF-8 (GH-20)

The test doesn't fail if UTF-8 isn't handled
properly, though that would be ideal. For now,
this test just makes the problem visible in test
results.