Remove dev paths from patch files