peel_onion(): add support for <rev>^{tag}