rev-parse: fix using "--default" with "--verify"