The by-name checks need to emit a series of command invocations which are sufficient to reproduce exactly what github is doing, locally, outside of github.
Right now the by-name checks aren't written in bash or nixpkgs; they're written in github.
Working on a fix.