Fixing shell check, so distro differences don't break it.