Fix bug in installer environment step