Only look up the branch by name-rev.

Was getting 404's for /tree/refs/heads/master/subdir/subdir, instead of /tree/branchname/subdir/subdir.

Not sure what case "command git symbolic-ref -q HEAD || " was handling.