Update update-directory-index.sh

do not create an index.html file on .git folders