Fix list command when there is a missing dependency.