t7508: add a test for "git status" in a read-only repository