Relax signature requirements

In most places libgit2 actually takes NULL for a signature, so make the argument
optional.