[PDI-8786] User Defined Java Class Step : "Unable to open dialog for this step"

<h1>DIRECT-MASTER</h1>

* Changes: do not clone null stepMeta field
* Added unit test