Only warn about library/require of pkg if it actually occurs!