In most cases pre payment penalties can be avoided my shopping around. With the competition there is in the mortgage marketplace, you should be able to find a company w/o the penalties.

As to going with a bank or credit union that you know, you can severely limit your options by going that route. Shop around, just like you would buying a car.