[util-iso] gen_iso_fn() should source actual branch
When building with the -c
switch ISOs will end up with a wrong branch in the filename if it is not explicitly passed with the build command and when it's different from $target_branch set in manjaro-tools.conf
So when for example you build -b testing -x
while your default target_branch is unstable and then later you do -zc
(without adding -b testing once more) you will end up with an ISO labelled "unstable" while in fact it is "testing".
Maybe the safest solution would be to source chroots_dir/etc/pacman-mirrors.conf for the actual branch?