reflog: avoid constructing .lock path with git_path