Fixed a bug that would cause an NPE when no version was specified.