[sr-dev] git:master: reg(k): only store path if indicated by the configuration