Fix the command existance check