Fix: do not hardcode origin/ to ref (enables R16A)

This allows building tags and all other funny kinds of refs.

This patch enables you to build R16A:

    $ kerl build git git://github.com/erlang/otp.git OTP_R16A_RELEASE_CANDIDATE r16a