fixing the split-path issue which causes issue with svn checkout.