Could do `"#{HOMEBREW_LIBRARY}/Taps/*/"` and use the trailing slash to skip the need for a directory check.