Handle None configuration values when checking for bytes conversion