Checks for correct format of remote version

Corrected a bug where the version of the code didn’t come down right
(due to some debugging code) and the servers didn’t upgrade properly.