strip kernel version from image names