Detect tracked repository for current branch

By default, the `travis` tool uses the `origin` remote. However, this branch may not exist. It would be useful it detected the tracked repository for the current branch instead.