don't unload library if we can't find the package dir