cpoll: improved error handling
cppsp: proper error handling when finding a module by name fails
cppsp: minor fixes in package_cppsp