If M and/or N are direct sum modules (isDirectSum M == true) then H is the direct sum of the Homs between the components. This SHOULD be built into Hom(M,N), but isn't as of M2, v. 1.7
See also
tensorWithComponents -- forms the tensor product, preserving direct sum information