Fix exception when mapping nested generic classes

Do not try to remove `1 from Type.Name when there isn't one in ClassMap.GetDefaultTableName(). 
For example when the outer class has the generic declaration and the inner one is mapped.