support optional environment attribute in unmanaged hosts data bag