Add getenv to megatest.scm