prevent trying to shasum a dir