LegacyService: avoid NPE with running command
LegacyService: avoid NPE with running command

If the command is a DynamicCommand, the Future will now come back null;
see scijava/scijava-common@a67c719e17b5f5a8e17e93bffa0c443e7c8eb5b1.

imagej/imagej-legacy,imagej/imagej-legacy,imagej/imagej-legacy,imagej/imagej-legacy