Util function to compute conflictPath