Add current_branch to metadata as well