no need for exact libgit2 error code

Signed-off-by: Sven Strickroth <email@cs-ware.de>