FIX EnvironmentRepository::getParent()