core: chomp the version so we can echo into it