Fixing regex used to extract the dir name
Merge branch 'master' of git://github.com/geotools/geotools