installer: handle BDW_CONFIG_TYPE detection with better versatility