$lsbdistcodename is empty on CentOS. Related to #524