Added exception handler to detect existence of "extract" command.