remotewms: prevent NullPointerException

Layer.mapQuery implementations should never return null.