Prevent attempts to run impossible configurations. am: a86a5d162e am: 3a957d1e4b
am: e2628f424c

Change-Id: I2931b2563958d3a051043af02e99c333dcc84ff1