helper to explore the environment available in postinstall scripts