process_utils: more robust import behavior