Use --repos-path to generate on-demand cmdline
Review Request #2429 — Created April 10, 2023 and submitted — Latest diff uploaded
So we can avoid special environment case. Also this fixes my installation as the HGK_REPOS_PATH was not recognized and the default value "repos" without any absolute path was used.