[FIXED JENKINS-15094] - Handle null parameter values in BuildCommand (CLI)

The change adds missing checks for null ParameterValue, which may be passed from the CLI.
It prevents the death of Jenkins executors during the canTake() check of node labels.

Tests will be added soon...

Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>