Refactor reset command's handling of repo and channel

Created by  dblsaiko  on March 29, 2024
Q5PNWJ5WICBXCVODOZBNZLADNNCBPQPMN32SJKQUVEP4ZJIBPZ3QC
Change contents