I20240618-1800
If command is null a NPE occurs even though from the code it seems this should be handled by a fallback. This replaces Optional.of with Optional.ofNullable to account for that case.
If command is null a NPE occurs even though from the code it seems this should be handled by a fallback. This replaces Optional.of with Optional.ofNullable to account for that case.