Try to get the version of Petals Registry CLI, we get an unexpected new line:
> ../petals-registry-cli.sh -V Petals Registry Command Line Interface 1.0.0 OpenJDK Runtime Environment 1.7.0_79-b14 Linux 3.19.0-30-generic
The output should be:
> ./petals-registry-cli.sh -V Petals Registry Command Line Interface 1.0.0 OpenJDK Runtime Environment 1.7.0_79-b14 Linux 3.19.0-30-generic