DOCS-2602: fix applying patches to alternate patches