Corrected testing for gls and gdircolors