check_os returns os release (but currently support redhat only)

Ref: #239