Pyramid: fix behaviour when one highpass is None

The 3d transform can return 'None' for the first level is
discard_level_1 is set. Update Pyramid to understand this.