Use simple path for tmp ref, avoiding extra dir
Use simple path for tmp ref, avoiding extra dir

So that we don't have to worry about cleaning empty
directories later. This was brought up at:

https://gitlab.com/gitlab-org/gitlab-ce/issues/38689#note_42242988

stoplightio/gitlabhq,mmkassem/gitlabhq,mmkassem/gitlabhq,iiet/iiet-git,stoplightio/gitlabhq,jirutka/gitlabhq,stoplightio/gitlabhq,jirutka/gitlabhq,jirutka/gitlabhq,dreampet/gitlab,axilleas/gitlabhq,mmkassem/gitlabhq,stoplightio/gitlabhq,dreampet/gitlab,iiet/iiet-git,iiet/iiet-git,jirutka/gitlabhq,axilleas/gitlabhq,dreampet/gitlab,axilleas/gitlabhq,iiet/iiet-git,mmkassem/gitlabhq,axilleas/gitlabhq,dreampet/gitlab