fix version regex, move code around so abortBuild can be called if version is bad, see #357
fix version regex, move code around so abortBuild can be called if version is bad, see #357

phetsims/chipper,phetsims/chipper,phetsims/chipper