Allow patching during src_prepare phase