Fix an exception when distro can't be determined