be defensive about pkg_resources