Adding support for SVN to CPM_EnsureRepoCurrent