The representation type of local algebras