patch applied (cabal-branches/cabal-1.4): Adjust registration to allow packages with no modules or objects