Add environment printout to detect-environment, for debugging.