Fix sniff registration when a hidden directory appears in the path.

Drupal people install their standard in the hidden .composer directory and then the sniffs are not found.