rev-parse git command doesn't need the --work-tree argument

small tidyup