[dfmc-environment-database] Fix ambiguity for environment-object-name.
Display warning for unused local variables.