extend rev-parse test for --is-inside-work-tree