Perhaps the constant functions should form a topological subspace of $\ C(M\ N)$   which is canonically isomorphic with $\ N$. This would eliminate the non-metrizable spaces $\ N$.