[MNG-4891] Improve robustness of snapshot dependency resolution in case a remote repo accidently uses the id "local"