Make sure 'rhel' and 'dist' are defined on el6