Default to using `$name` as the path to repository if `$repo` is not defined. This will maintain backwards compatibility.