Ignore non-directory files in plugin dir