Minor change for validate distro name.