LPS-47225 Accept a dir as a source for patch files