Add glob support for directory repository