support subpath in repo