Fix bug in patching SVN projects