fixed svn tags directory handling

this will fix issue #2679

tags directory was not handled correctly