Make no assumptions about :branch

Remove the required 'origin/' prefix to the branch/revision path. This
should allow the use of any revision spec.