title: Pentaho commandline nullpointer exception
body: <p>Pentaho PDI version 8.3.0 CE if it matters</p>
  
  <p>When I try to run a job or transformation commandline using kitchen or pan respectively I get a nullpointer exception. This happens only when trying to run something from a repository. 
  When I try to run the same transformation or job from spoon, all is fine and the job runs great.</p>
  
  <p>I use the following commands, which both provide the same error:</p>
  
  <blockquote>
    <p>./pan.sh -trans=get_clusters -rep=myrepo -user=admin -pass=mypass -dir=/Transformations</p>
  </blockquote>
  
  <p>and</p>
  
  <blockquote>
    <p>./kitchen.sh -job=scheduled_update_job -rep=myrepo -user=admin -pass=mypass -dir=/Jobs</p>
  </blockquote>
  
  <p>NOTE: This error also happens when I try to run the job or transformation from a docker container.</p>
  
  <p>The error I receive is as follows and identical for PAN and Kitchen:</p>
  
  <pre><code>020/02/05 09:07:56 - Pan - Start of run.
  Processing has stopped because of an error: null
  java.lang.NullPointerException
      at org.pentaho.di.core.plugins.PluginRegistry.getPluginId(PluginRegistry.java:689)
      at org.pentaho.di.core.plugins.PluginRegistry.getPlugin(PluginRegistry.java:715)
      at org.pentaho.di.core.plugins.PluginRegistry.loadClass(PluginRegistry.java:370)
      at org.pentaho.di.base.AbstractBaseCommandExecutor.establishRepositoryConnection(AbstractBaseCommandExecutor.java:195)
      at org.pentaho.di.pan.PanCommandExecutor.execute(PanCommandExecutor.java:119)
      at org.pentaho.di.pan.Pan.main(Pan.java:270)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at org.pentaho.commons.launcher.Launcher.main(Launcher.java:92)
  </code></pre>
  
  <p>Any help would be appreciated.</p>