_data_dir caught every exception from plugin_data_dir, so its dead-home refusal was retried by the standalone fallback (which refused again, through the same guard). The fallback now catches ImportError around the import alone.
_data_dir caught every exception from plugin_data_dir, so its dead-home refusal was retried by the standalone fallback (which refused again, through the same guard). The fallback now catches ImportError around the import alone.