Version 1.8-pre1 was released today, and its name is preventing the program from parsing the latest version correctly. I'm not sure exactly what is going wrong here since I'm not familiar with Perl or JSON.
To reproduce:
Create a server and add the line mscs-version-type=snapshot to its server.properties file and attempt an update.