remove is_svn_dir and add license

checking if is_svn_dir is still needed