And it was solved by deleting the .tmssetup folder, then doing a tms build after. I believe it will work in your case too.
If you can send the .tmssetup folder to us before deleting it, I believe that would help us figuring out what is happening, and if we can solve it, or at least improve the error message. You can send it to adrian@tmssoftware.com and wagner@tmssoftware.com