Added regex adjustment to the paths for CopyNix plugin