Fixed issue where a non-existent search path would make the lib throw an uncaught error