receive-pack: detect push to current branch of non-bare repo