update-index --split-index: do not split if $GIT_DIR is read only