Also protect against an empty string user name.
Merge pull request #350 from libgit2/protect-against-empty-name

Don't create a signature with an empty name