[KARAF-2780] Fix issue during LaunchConfiguration creation