It's strange, as this extend line should do the same thing. Extend _opts by injecting everything from repoDetails into it, over-riding the defaults set just before...