Fix undefined $environmentList