(but change repo check to allow repoPATT instead of just repoNAME) This is because there are/will be some situations where access() is called without those two checks being done (i.e., it is not only from src/commands/access that it is called).
gitolite query-rc