Handle "not found" when scanning libraries

A better error message than cp: cannot stat 'not': No such file or directory is needed.

See also #1 (closed)