Update shell validation logic for deploy task.