Improve Url analysis in match_repo
Fix 'zypper --root sh' creating the zypp lockfile outside chroot (bnc#575096)