Geometry-based control of instability patterns in cellular soft matter