Pkg: better warning for already-required packages [close #2028].

Also change the warning color to yellow to make it look less erroneous
than a full blown error.