Hybrid mask: Bail out with error if [the used portion of] hybrid
mask does not contain a ?w placeholder. See #834