Don't calculate shipping costs for empty cart

Using Magento 1.8.1 we sometimes ran into trouble, if the cart was empty. This patch stops calculation for empty carts.