Small fix to command_builder. Only run if a command line is set

Signed-off-by: hajee <hajee@moretIA.com>