A little subtle, but the first errors prints the previously found library (stored in `ret`), and the second prints prints the current library (stored in `lib`)