Fixing url in tree object to correct /repos url

Hi there

This changed the API response for a tree, as it had wrong "url" attributes. I changed them to the correct API endpoints.

- Rune