There are mites in the dirt. Most chickens I have seen with leg mites have not been dust bathing, or are older and arthritic. Sometimes they have long toenails also from not wearing down the nails. Cleaning out old bedding and replacing with fresh is a good practice.