[422481] Add a new preference to consider the target runtime when deciding to check or not 'Add to EAR' by default