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

Change-Id: I5c5ff7c5a962e4f712fcfabea91b418d7552c93f