Only push an enum into the environment, if it has a name.