[NGit fixes]

Enum was compared to null, which is not a feature in C#.

Also, #62 merge magically disappeared from NGit history.