Fixed a bug in debugging CommandEngine.cs which caused it to crash when an option value was fetched

Signed-off-by: Martin Evans <martindevans@gmail.com>