Another fix for #557

The part specifying the destitnation as origin/master was not specific enough. It would create a local branch named origin/master instead finding refs/remotes/origin/master. I misunderstood what was said in `man git rev-parse`.