Fix get env command