Fixed GLOB_BRACE bug

glob fails to trim the split values resulting in only jp*g files being cleared from the cache.