title: Pentaho Server 8.2 fails to resolve file path in transformation
body: <p>I am using PDI 8.2 CE and Penatho BI Server 8.2CE. Transformation works fine locally where the .ktrs and files are saved in local folders, using ${Internal.Entry.Current.Directory} to map a text file that is used in the ktr. However once this is uploaded to the Penatho BI Server (saving the text file in the same folder as the ktr) and try to run it the ${Internal.Entry.Current.Directory} is resolved as "file:///C:/public/ErrorHandlingSample/UnitTestData_MultiType.txt" instead of the relative repository directory !!! </p>
  
  <p>I don't know what change can make it working again? If anyone hit the same issue please help... </p>
  
  <p>Thanks heaps.. </p>
  
  <p>Some logs below, </p>
  
  <pre class="lang-sh prettyprint-override"><code>2019/08/13 13:02:29 - Scenario 1 Input Data 2.0 - An error occurred while creating field mapping
  2019/08/13 13:02:29 - Scenario 1 Input Data 2.0 - Could not read from "file:///C:/public/ErrorHandlingSample/UnitTestData_MultiType.txt" because it is not a file.
  2019/08/13 13:02:29 - Scenario 1 Input Data 2.0 - 
  2019/08/13 13:02:29 - Scenario 1 Input Data 2.0 - Could not read from "file:///C:/public/ErrorHandlingSample/UnitTestData_MultiType.txt" because it is not a file.
  2019/08/13 13:02:29 - Scenario 1 Input Data 2.0 - 
  2019/08/13 13:02:29 - Scenario 1 Input Data 2.0 -   at org.pentaho.di.trans.steps.csvinput.CsvInput.readFieldNamesFromFile(CsvInput.java:463)
  2019/08/13 13:02:29 - Scenario 1 Input Data 2.0 -   at org.pentaho.di.trans.steps.csvinput.CsvInput.createFieldMapping(CsvInput.java:427)
  2019/08/13 13:02:29 - Scenario 1 Input Data 2.0 -   at org.pentaho.di.trans.steps.csvinput.CsvInput.openNextFile(CsvInput.java:332)
  2019/08/13 13:02:29 - Scenario 1 Input Data 2.0 -   at org.pentaho.di.trans.steps.csvinput.CsvInput.processRow(CsvInput.java:135)
  2019/08/13 13:02:29 - Scenario 1 Input Data 2.0 -   at org.pentaho.di.trans.step.RunThread.run(RunThread.java:62)
  2019/08/13 13:02:29 - Scenario 1 Input Data 2.0 -   at java.lang.Thread.run(Thread.java:748)
  2019/08/13 13:02:29 - Scenario 1 Input Data 2.0 - Caused by: org.apache.commons.vfs2.FileNotFoundException: Could not read from "file:///C:/public/ErrorHandlingSample/UnitTestData_MultiType.txt" because it is not a file.
  2019/08/13 13:02:29 - Scenario 1 Input Data 2.0 -   at org.apache.commons.vfs2.provider.AbstractFileObject.getInputStream(AbstractFileObject.java:1123)
  2019/08/13 13:02:29 - Scenario 1 Input Data 2.0 -   at org.apache.commons.vfs2.provider.DefaultFileContent.getInputStream(DefaultFileContent.java:349)
  2019/08/13 13:02:29 - Scenario 1 Input Data 2.0 -   at org.pentaho.di.core.vfs.KettleVFS.getInputStream(KettleVFS.java:263)
  2019/08/13 13:02:29 - Scenario 1 Input Data 2.0 -   at org.pentaho.di.trans.steps.csvinput.CsvInput.readFieldNamesFromFile(CsvInput.java:443)
  2019/08/13 13:02:29 - Scenario 1 Input Data 2.0 -   ... 5 more
  2019/08/13 13:02:29 - Scenario 1 Input Data 2.0 - Caused by: java.io.FileNotFoundException: C:\public\ErrorHandlingSample\UnitTestData_MultiType.txt (The system cannot find the path specified)
  2019/08/13 13:02:29 - Scenario 1 Input Data 2.0 -   at java.io.FileInputStream.open0(Native Method)
  2019/08/13 13:02:29 - Scenario 1 Input Data 2.0 -   at java.io.FileInputStream.open(FileInputStream.java:195)
  2019/08/13 13:02:29 - Scenario 1 Input Data 2.0 -   at java.io.FileInputStream.&lt;init&gt;(FileInputStream.java:138)
  2019/08/13 13:02:29 - Scenario 1 Input Data 2.0 -   at org.apache.commons.vfs2.provider.local.LocalFile.doGetInputStream(LocalFile.java:215)
  2019/08/13 13:02:29 - Scenario 1 Input Data 2.0
  at org.apache.commons.vfs2.provider.AbstractFileObject.getInputStream(AbstractFileObject.java:1119)
  2019/08/13 13:02:29 - Scenario 1 Input Data 2.0 -   ... 8 more
  </code></pre>