Changing error to err in Repository.log function

@gordonwritescode This addresses an issue with the ```git log``` command.  It looks like a variable name was changed during a refactor.