I have not checked the "Update AssemblyInfo files" option, yet the build log contains the following:
Invoking GitVersion with C:\a\1\s /output buildserver /nofetch /updateassemblyinfo true
From what I can tell in the powershell, the /updatessemblyinfo true should not be added to the command line. The code itself looks fine so I don't know what is happening there.