Avoid scary "Package contains no library to register" message in installPackage