shorter form of inline if for compression_types.first setting when missing