[bin] bump_kernel_packages: validate atom strings