handle_revision_arg: hoist ".." check out of range parsing