Fix exception thrown when buildNumberOffset is -1 and uncommitted
Fix exception thrown when buildNumberOffset is -1 and uncommitted

Closes #102

AArnott/Nerdbank.GitVersioning,AArnott/Nerdbank.GitVersioning,AArnott/Nerdbank.GitVersioning