[367475] Take git specificities into account when resolving uris.