[cvs-nhc98] When installing Hat files, don't use the first matching co