@couniojc I'm not quite sure how your fix works, it produces a string like this for me, doubling up the name:

<pre>
2.0.0-p247 :018 > vm.folder.path.gsub(path_replace, '')+vm.relative_path.gsub(dc_replace,'')
 => "Scratch/Training - SA3Scratch/Training - SA3" 
</pre>

The original seems to do something sensible to me:

<pre>
2.0.0-p247 :019 > vm.folder.path.gsub(path_replace, '')
 => "Stratch/Training - SA3" 
</pre>