init: fix currently checked out channel detection
In "pmbootstrap init", always use the pmaports root path when figuring out the channel of the checked out commit (-> edge, v24.12, ...).
Otherwise the systemd path may get used, which returns channels prefixed with "systemd-", such as "systemd-edge".
The default UI is "console", and it was recently switched to use systemd by default. Since then the channel in pmaports CI gets detected as "systemd-edge", which is not the same as "edge" and so pmbootstrap switched to the master branch during "pmbootstrap init", resulting in CI running on the wrong branch:
[10:54:44] Currently checked out branch 'HEAD' of pmaports.git is on channel 'systemd-edge'.
[10:54:44] Switching to branch 'master' on channel 'edge'...Related: pmaports#3674 (closed)