If a relative filename has at least one level of parent directories, `vc-svn-ignore' fails to add the ignore spec to the correct subdirectory. The attached patch fixes that error.