Added better validation on input params in nuget.msbuild