parse locator by repo url
only if matching