handle dir

-- missingrepo-git/index.html --
<!DOCTYPE html>
<html>

-- missingrepo-git/notmissing/index.html --
<!DOCTYPE html>
<html>

-- missingrepo-git-ssh/index.html --
<!DOCTYPE html>
<html>

-- missingrepo-git-ssh/notmissing/index.html --
<!DOCTYPE html>
<html>

