Fix mkpasswd check for Red Hat build hosts